mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 12:00:38 +00:00
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
This commit is contained in:
parent
634a544dca
commit
cd8043fc18
1 changed files with 1 additions and 1 deletions
2
parser.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue