mirror of https://gitlab.com/basile.b/dexed.git
sxsyn, lex `?=` as a single token
This commit is contained in:
parent
9266f32db4
commit
273291aca0
|
@ -792,13 +792,13 @@ begin
|
|||
// `+` `+=` `++`
|
||||
'+': lexOpAndOpOpAndOpEqual('+');
|
||||
// `*` `*=` `%` `%=` `^` `^=` `~` `~=` `!` `!=`
|
||||
'*', '%', '^', '!', '~': lexOpAndOpEqual();
|
||||
'*', '%', '^', '!', '~', '?': lexOpAndOpEqual();
|
||||
// `<` `<<` `<=` `<<=` `>` `>>` `>=` `>>=`
|
||||
'<': lexOpAndOpOpAndOpEqualAndOpOpEqual('<');
|
||||
'>': lexOpAndOpOpAndOpEqualAndOpOpEqual('>');
|
||||
// `=`, `==`, `=>`
|
||||
'=': lexAssEquOrLambda();
|
||||
'.', '(', ')', ',', ':' , '[', ']', '?', ';' :
|
||||
'.', '(', ')', ',', ':' , '[', ']', ';' :
|
||||
begin
|
||||
fTokKind := TTokenKind.tkSymbl;
|
||||
fTokStop += 1;
|
||||
|
|
Loading…
Reference in New Issue