Skip to content

Commit

Permalink
Add support for Null Safe Operator (#3393)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo authored Jun 3, 2024
1 parent 7c26dee commit f36b2a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CodeLite/PhpLexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ horizontal_white [ ]|{h_tab}
<PHP>"trait" {LEX_RETURN(kPHP_T_TRAIT);}
<PHP>"extends" {LEX_RETURN(kPHP_T_EXTENDS);}
<PHP>"implements" {LEX_RETURN(kPHP_T_IMPLEMENTS);}
<PHP>"?->" {LEX_RETURN(kPHP_T_OBJECT_OPERATOR);}
<PHP>"->" {LEX_RETURN(kPHP_T_OBJECT_OPERATOR);}
<PHP>"::" {LEX_RETURN(kPHP_T_PAAMAYIM_NEKUDOTAYIM);}
<PHP>\\ {LEX_RETURN(kPHP_T_NS_SEPARATOR);}
Expand Down

0 comments on commit f36b2a9

Please sign in to comment.