Lexer
- Now recognized the exact inequality operator !==.
This commit is contained in:
@@ -716,7 +716,8 @@ bool Lexer::is_ident (int c) const
|
||||
bool Lexer::is_triple_op (int c0, int c1, int c2) const
|
||||
{
|
||||
return (c0 == 'a' && c1 == 'n' && c2 == 'd') ||
|
||||
(c0 == 'x' && c1 == 'o' && c2 == 'r');
|
||||
(c0 == 'x' && c1 == 'o' && c2 == 'r') ||
|
||||
(c0 == '!' && c1 == '=' && c2 == '=');
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user