mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
fixing up prevoius commit: cannot reference the parser here
This commit is contained in:
parent
5d23fc5f5f
commit
4f758284a1
1 changed files with 0 additions and 2 deletions
2
lexer.c
2
lexer.c
|
@ -15,8 +15,6 @@ void lexerror(lex_file *lex, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
parser->errors++;
|
|
||||||
|
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
vprintmsg(LVL_ERROR, lex->name, lex->sline, "parse error", fmt, ap);
|
vprintmsg(LVL_ERROR, lex->name, lex->sline, "parse error", fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
Loading…
Reference in a new issue