]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
get rid of additional trailing \n on parseerror
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 12:55:37 +0000 (14:55 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 12:55:37 +0000 (14:55 +0200)
parser.c

index fdf6bce8d7a060d04ef854f89992ccd5141ee48f..769f0da988fc761a75e2f953f94af99146e7809d 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -60,8 +60,6 @@ void parseerror(parser_t *parser, const char *fmt, ...)
        va_start(ap, fmt);
     vprintmsg(LVL_ERROR, parser->lex->tok->ctx.file, parser->lex->tok->ctx.line, "parse error", fmt, ap);
        va_end(ap);
-
-       printf("\n");
 }
 
 /* returns true if it counts as an error */