projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support $<tag>$ in printers and destructors
[bison.git]
/
src
/
print.c
diff --git
a/src/print.c
b/src/print.c
index 1f9dd580a1c5fca999657058b0dd65f6f7e5a155..cb227aa513081fec25d1665b423dd02f1bc63bc6 100644
(file)
--- a/
src/print.c
+++ b/
src/print.c
@@
-1,7
+1,7
@@
/* Print information on generated parser, for bison,
/* Print information on generated parser, for bison,
- Copyright (C) 1984, 1986, 1989, 2000
, 2001, 2002, 2003, 2004, 2005,
-
2007, 2009, 2010 Free
Software Foundation, Inc.
+ Copyright (C) 1984, 1986, 1989, 2000
-2005, 2007, 2009-2012 Free
+ Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
This file is part of Bison, the GNU Compiler Compiler.
@@
-22,7
+22,6
@@
#include "system.h"
#include <bitset.h>
#include "system.h"
#include <bitset.h>
-#include <quotearg.h>
#include "LR0.h"
#include "closure.h"
#include "LR0.h"
#include "closure.h"
@@
-337,7
+336,7
@@
print_reductions (FILE *out, state *s)
char *default_reductions =
muscle_percent_define_get ("lr.default-reductions");
print_reduction (out, width, _("$default"), default_reduction, true);
char *default_reductions =
muscle_percent_define_get ("lr.default-reductions");
print_reduction (out, width, _("$default"), default_reduction, true);
- aver (0 == strcmp (default_reductions, "
all
")
+ aver (0 == strcmp (default_reductions, "
most
")
|| (0 == strcmp (default_reductions, "consistent")
&& default_reduction_only)
|| (reds->num == 1 && reds->rules[0]->number == 0));
|| (0 == strcmp (default_reductions, "consistent")
&& default_reduction_only)
|| (reds->num == 1 && reds->rules[0]->number == 0));