]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
a failing 'parse-statement' call should not print 'parse error' at all since at that...
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 28 Oct 2012 14:53:30 +0000 (15:53 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 28 Oct 2012 14:53:30 +0000 (15:53 +0100)
parser.c

index 09f9b64fde1111f33412856092577a24aacd8dd1..00d80cc1db47f291d2883a21eaf4778abca4eabf 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1817,7 +1817,7 @@ static bool parse_block_into(parser_t *parser, ast_block *block, bool warnreturn
             break;
 
         if (!parse_statement(parser, block, &expr)) {
-            parseerror(parser, "parse error");
+            /* parseerror(parser, "parse error"); */
             block = NULL;
             goto cleanup;
         }