]> git.saurik.com Git - bison.git/blobdiff - src/output.c
#
[bison.git] / src / output.c
index dfa1a42f7ed50af0fc1e6bf762a45ecd5cc2fb41..6d96d50f4576eb50764c73737b4a4b0ac9accbdc 100644 (file)
@@ -105,7 +105,7 @@ YYNTBASE = ntokens.
 #include <stdio.h>
 #include "system.h"
 #include "machine.h"
-#include "new.h"
+#include "alloc.h"
 #include "files.h"
 #include "gram.h"
 #include "state.h"
@@ -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.  */
 
@@ -1190,7 +1190,7 @@ int vector;
        {
          loc = j + from[k];
          if (loc > MAXTABLE)
-           fatals("maximum table size (%s) exceeded", int_to_string(MAXTABLE));
+           fatals(_("maximum table size (%s) exceeded"), int_to_string(MAXTABLE));
 
          if (table[loc] != 0)
            ok = 0;