mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 08:22:13 +00:00
revert 1 of the error messages
This commit is contained in:
parent
321a1fe0d6
commit
207293bf74
1 changed files with 1 additions and 2 deletions
3
parser.c
3
parser.c
|
@ -1697,8 +1697,7 @@ static bool parser_leaveblock(parser_t *parser)
|
||||||
util_htdel(vec_last(parser->variables));
|
util_htdel(vec_last(parser->variables));
|
||||||
vec_pop(parser->variables);
|
vec_pop(parser->variables);
|
||||||
if (!vec_size(parser->_blocklocals)) {
|
if (!vec_size(parser->_blocklocals)) {
|
||||||
parser->errors++;
|
parseerror(parser, "internal error: parser_leaveblock with no block (2)");
|
||||||
compile_error(vec_last(parser->_block_ctx), "internal error: parser_leaveblock with no block (2)");
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue