X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c932d6135ca3e508f7136810b9b0bf79725290b9..a1a77e1fcc32e94aff477f2a98c15172b199d1e0:/lib/yyerror.c diff --git a/lib/yyerror.c b/lib/yyerror.c index 7db92bc4..c9f492f8 100644 --- a/lib/yyerror.c +++ b/lib/yyerror.c @@ -24,5 +24,7 @@ int yyerror (char const *); int yyerror (char const *message) { - return fprintf (stderr, "%s\n", message); + fputs (message, stderr); + fputc ('\n', stderr); + return 0; }