From cd8043fc1852310f6ddb5882b035c81bb8f6b82b Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sun, 28 Oct 2012 15:53:30 +0100 Subject: [PATCH] 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 --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2