]> git.saurik.com Git - bison.git/blobdiff - src/reduce.c
* src/state.h (nstates, final_state, first_state, first_shift)
[bison.git] / src / reduce.c
index d160f9d6f134322439cc7b85dd54a15430d23a6e..8175f29f313c83212537c117f542546688d43c94 100644 (file)
 #include "alloc.h"
 #include "complain.h"
 #include "reduce.h"
-
-extern char **tags;            /* reader.c */
-static int statisticsflag;     /* XXXXXXX */
-extern int fixed_outfiles;
+#include "reader.h"
+#include "getargs.h"
 
 typedef unsigned *BSet;
 typedef short *rule;
@@ -545,8 +543,8 @@ reduce_grammar (void)
       dump_grammar ();
     }
 #endif
-  statisticsflag = FALSE;      /* someday getopts should handle this */
-  if (statisticsflag == TRUE)
+
+  if (statisticsflag)
     fprintf (stderr, _("reduced %s defines %d terminal%s, %d nonterminal%s\
 , and %d production%s.\n"),
             infile,