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

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-10-28 15:53:30 +01:00
parent 634a544dca
commit cd8043fc18

View file

@ -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;
}