]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
removed redundant error+file+line in parseerror()
authorWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 11:15:55 +0000 (13:15 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Tue, 14 Aug 2012 11:15:55 +0000 (13:15 +0200)
parser.c

index c9b434723f3e4ef54d5e3ad8853e0c3f52d239f3..aad3b6a1b585ba9d51060e44b156e1d0492e1e5f 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -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);