From a2936c045cabc752c148979e644d8f73b3dbf367 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 14 Jun 2014 16:03:07 -0400 Subject: [PATCH] Lexer - Now recognized the exact inequality operator !==. --- src/Lexer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Lexer.cpp b/src/Lexer.cpp index 022a5ea30..b31a69242 100644 --- a/src/Lexer.cpp +++ b/src/Lexer.cpp @@ -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 == '='); } ////////////////////////////////////////////////////////////////////////////////