Copy BYacc's nice way to report the grammar.
authorAkim Demaille <akim@epita.fr>
Sat, 15 Jun 2002 18:23:12 +0000 (18:23 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 15 Jun 2002 18:23:12 +0000 (18:23 +0000)
commit6b98e4b5636203b60c2a43ddaa988562616b4c69
treeeb30da0f0d1b6bc2501197c9c96e20b04b248256
parentee000ba4fcd5b051bef4476341a7fdffbddf8ad3
Copy BYacc's nice way to report the grammar.
* src/gram.h, src/gram.c (grammar_rhs_print, grammar_rules_print):
New.
Don't print the rules' location, it is confusing and useless.
(rule_print): Use grammar_rhs_print.
* src/print.c (print_grammar): Use grammar_rules_print.
16 files changed:
ChangeLog
NEWS
src/LR0.c
src/closure.c
src/gram.c
src/gram.h
src/lalr.c
src/output.c
src/print.c
src/print_graph.c
src/reduce.c
src/symtab.c
src/symtab.h
tests/conflicts.at
tests/reduce.at
tests/regression.at