]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Let's not have + and - as sole token, always allow ++ and -- to become operators...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 17:07:19 +0000 (18:07 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 17:07:19 +0000 (18:07 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index 49b8ada16eaadfdb8f123eb1be69f26548c9f776..175d158023dfe47c7a482723af5fbca0b34c1947 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -1076,8 +1076,10 @@ int lex_do(lex_file *lex)
          */
         switch (ch)
         {
+            /*
             case '+':
             case '-':
+            */
             case '*':
             case '/':
             case '<':