mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
removed redundant error+file+line in parseerror()
This commit is contained in:
parent
722be55fa9
commit
5ef88dbda7
1 changed files with 0 additions and 2 deletions
2
parser.c
2
parser.c
|
@ -54,8 +54,6 @@ void parseerror(parser_t *parser, const char *fmt, ...)
|
|||
|
||||
parser->errors++;
|
||||
|
||||
printf("error %s:%lu: ", parser->lex->tok->ctx.file, (unsigned long)parser->lex->tok->ctx.line);
|
||||
|
||||
va_start(ap, fmt);
|
||||
vprintmsg(LVL_ERROR, parser->lex->tok->ctx.file, parser->lex->tok->ctx.line, "parse error", fmt, ap);
|
||||
va_end(ap);
|
||||
|
|
Loading…
Reference in a new issue