fixing up prevoius commit: cannot reference the parser here

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-23 19:28:15 +02:00
parent 5d23fc5f5f
commit 4f758284a1

View file

@ -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);