summaryrefslogtreecommitdiff
path: root/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.c')
-rw-r--r--lexer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexer.c b/lexer.c
index 1f76ab8..3ad2109 100644
--- a/lexer.c
+++ b/lexer.c
@@ -41,6 +41,8 @@ static unsigned int two_wide_tok(const char *s)
{
switch (PAIR(s[0], s[1])) {
case PAIR('+', '+'): return TOK_INCREMENT;
+ case PAIR('=', '='): return TOK_COMP_EQ;
+ case PAIR('!', '='): return TOK_COMP_NEQ;
default: return TOK_NONE;
}
}