- Now recognized the exact inequality operator !==.
This commit is contained in:
Paul Beckingham 2014-06-14 16:03:07 -04:00
parent 9318dced5a
commit a2936c045c

View file

@ -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 == '=');
}
////////////////////////////////////////////////////////////////////////////////