]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - parser.c
get rid of additional trailing \n on parseerror
[xonotic/gmqcc.git] / 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 */