]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Parse away the semicolon after an assignment
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Thu, 19 Jul 2012 17:52:44 +0000 (19:52 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Thu, 19 Jul 2012 17:52:44 +0000 (19:52 +0200)
parser.c

index 125a693e1ec2cfeb00a9d58ff6253225a30c0cf5..234cd0ed7b78f8c0eac311d743f58e2da3b4e833 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -240,6 +240,8 @@ bool parser_do(parser_t *parser)
             return false;
         }
 
+        (void)parser_next(parser);
+
         return true;
     }
     else if (parser->tok == TOKEN_KEYWORD)