revert 1 of the error messages

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 14:37:54 +01:00
parent 321a1fe0d6
commit 207293bf74

View file

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