add trailing \n in yyerror

This commit is contained in:
Omar Polo 2021-02-07 18:08:50 +00:00
parent 7e9b7812b3
commit a13739138b
1 changed files with 1 additions and 0 deletions

View File

@ -205,6 +205,7 @@ yyerror(const char *msg, ...)
va_start(ap, msg);
fprintf(stderr, "%s:%d: ", config_path, yylineno);
vfprintf(stderr, msg, ap);
fprintf(stderr, "\n");
va_end(ap);
}