From: Richard M. Stallman Date: Sat, 27 Jan 1996 08:26:26 +0000 (+0000) Subject: (output_rule_data): Test YYERROR_VERBOSE in the conditional X-Git-Tag: GNU_ORIG~34 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/ba2e357c0d9b3abe67868d3660f5f049716394ba (output_rule_data): Test YYERROR_VERBOSE in the conditional around the definition of ttyname. --- diff --git a/src/output.c b/src/output.c index dfa1a42f..8b2d314f 100644 --- a/src/output.c +++ b/src/output.c @@ -462,7 +462,7 @@ output_rule_data() } if (! toknumflag && ! noparserflag) - fprintf(ftable, "\n#if YYDEBUG != 0\n\n"); + fprintf(ftable, "\n#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)\n\n"); /* Output the table of symbol names. */