From: Wolfgang (Blub) Bumiller Date: Sun, 28 Oct 2012 14:53:30 +0000 (+0100) Subject: a failing 'parse-statement' call should not print 'parse error' at all since at that... X-Git-Tag: 0.1-rc1~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cd8043fc1852310f6ddb5882b035c81bb8f6b82b;p=xonotic%2Fgmqcc.git a failing 'parse-statement' call should not print 'parse error' at all since at that point more descriptive error message has to have been printed already --- diff --git a/parser.c b/parser.c index 09f9b64..00d80cc 100644 --- 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; }