From: Wolfgang (Blub) Bumiller Date: Thu, 23 Aug 2012 17:28:15 +0000 (+0200) Subject: fixing up prevoius commit: cannot reference the parser here X-Git-Tag: 0.1-rc1~65 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f758284a1773aa1de081fe2801d7ad9f778cbe6;p=xonotic%2Fgmqcc.git fixing up prevoius commit: cannot reference the parser here --- diff --git a/lexer.c b/lexer.c index b3243f0..0809692 100644 --- 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);