From: Wolfgang (Blub) Bumiller Date: Sun, 25 Nov 2012 17:07:19 +0000 (+0100) Subject: Let's not have + and - as sole token, always allow ++ and -- to become operators... X-Git-Tag: 0.1.9~259 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=e3acdcf0a93eacfcc6bdb5acd6e24205ba5774c0;p=xonotic%2Fgmqcc.git Let's not have + and - as sole token, always allow ++ and -- to become operators independent of the noops flag --- diff --git a/lexer.c b/lexer.c index 49b8ada..175d158 100644 --- a/lexer.c +++ b/lexer.c @@ -1076,8 +1076,10 @@ int lex_do(lex_file *lex) */ switch (ch) { + /* case '+': case '-': + */ case '*': case '/': case '<':