]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.c
fixing up prevoius commit: cannot reference the parser here
[xonotic/gmqcc.git] / lexer.c
diff --git a/lexer.c b/lexer.c
index b3243f071e0c2d316186034bbe5f2f8e68013e63..080969250af38dab471e465ac4dad1ed922e7a8d 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -15,8 +15,6 @@ void lexerror(lex_file *lex, const char *fmt, ...)
 {
        va_list ap;
 
-       parser->errors++;
-
        va_start(ap, fmt);
     vprintmsg(LVL_ERROR, lex->name, lex->sline, "parse error", fmt, ap);
        va_end(ap);