Lexer
- When parsing two-character operators ('or') from a string ('ordinary'), the
lack of boundary between the 'r' and the 'd' now prevents the operator 'or'
from being recognized.
This commit is contained in:
@@ -78,7 +78,7 @@ private:
|
||||
bool is_ident_start (int) const;
|
||||
bool is_ident (int) const;
|
||||
bool is_triple_op (int, int, int) const;
|
||||
bool is_double_op (int, int) const;
|
||||
bool is_double_op (int, int, int) const;
|
||||
bool is_single_op (int) const;
|
||||
bool is_dec_digit (int) const;
|
||||
bool is_hex_digit (int) const;
|
||||
|
||||
Reference in New Issue
Block a user