From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 13:37:54 +0000 (+0100) Subject: revert 1 of the error messages X-Git-Tag: 0.1.9~181 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=207293bf742851110f06df705313f47f258f2ea5;p=xonotic%2Fgmqcc.git revert 1 of the error messages --- 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; }