]> git.saurik.com Git - bison.git/commitdiff
(output_rule_data): Test YYERROR_VERBOSE in the conditional
authorRichard M. Stallman <rms@gnu.org>
Sat, 27 Jan 1996 08:26:26 +0000 (08:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 27 Jan 1996 08:26:26 +0000 (08:26 +0000)
around the definition of ttyname.

src/output.c

index dfa1a42f7ed50af0fc1e6bf762a45ecd5cc2fb41..8b2d314f6bf32bffe8f4b27b97408f0e92787d93 100644 (file)
@@ -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.  */