From b4a5517851b402fb869e49d57b1b109734c384bc Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 25 Nov 2012 23:24:39 +0100 Subject: [PATCH] fix a lexer error which parsed !! as one operator --- lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer.c b/lexer.c index 662e7e7..a3fb239 100644 --- a/lexer.c +++ b/lexer.c @@ -1164,7 +1164,7 @@ int lex_do(lex_file *lex) lex_tokench(lex, ch); nextch = lex_getch(lex); - if (nextch == ch || nextch == '=') { + if (nextch == '=' || (nextch == ch && ch != '!')) { lex_tokench(lex, nextch); } else if (ch == '-' && nextch == '>') { lex_tokench(lex, nextch); -- 2.39.2