From 207293bf742851110f06df705313f47f258f2ea5 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 30 Nov 2012 14:37:54 +0100 Subject: [PATCH] revert 1 of the error messages --- parser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parser.c b/parser.c index 331f35b..3fb9111 100644 --- a/parser.c +++ b/parser.c @@ -1697,8 +1697,7 @@ static bool parser_leaveblock(parser_t *parser) util_htdel(vec_last(parser->variables)); vec_pop(parser->variables); if (!vec_size(parser->_blocklocals)) { - parser->errors++; - compile_error(vec_last(parser->_block_ctx), "internal error: parser_leaveblock with no block (2)"); + parseerror(parser, "internal error: parser_leaveblock with no block (2)"); return false; }