From 4f758284a1773aa1de081fe2801d7ad9f778cbe6 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 23 Aug 2012 19:28:15 +0200 Subject: [PATCH] fixing up prevoius commit: cannot reference the parser here --- lexer.c | 2 -- 1 file changed, 2 deletions(-) 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); -- 2.39.2