]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fixing up prevoius commit: cannot reference the parser here
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 23 Aug 2012 17:28:15 +0000 (19:28 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 23 Aug 2012 17:28:15 +0000 (19:28 +0200)
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);