removed redundant error+file+line in parseerror()

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-08-14 13:15:55 +02:00
parent 722be55fa9
commit 5ef88dbda7

View file

@ -54,8 +54,6 @@ void parseerror(parser_t *parser, const char *fmt, ...)
parser->errors++;
printf("error %s:%lu: ", parser->lex->tok->ctx.file, (unsigned long)parser->lex->tok->ctx.line);
va_start(ap, fmt);
vprintmsg(LVL_ERROR, parser->lex->tok->ctx.file, parser->lex->tok->ctx.line, "parse error", fmt, ap);
va_end(ap);