]> git.saurik.com Git - bison.git/commit - src/symlist.c
Also warn about non-used mid-rule values.
authorAkim Demaille <akim@epita.fr>
Wed, 4 Jan 2006 09:18:37 +0000 (09:18 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 4 Jan 2006 09:18:37 +0000 (09:18 +0000)
commit84866159725a9df9febc1050643c0355eba5916c
tree5050f14f9fec44c673531d9c8708a323d34617e3
parent378f4bd846c4312ddeb11f151382226e30050d3c
Also warn about non-used mid-rule values.
* src/symlist.h, src/symlist.c (symbol_list): Add a mid_rule
member.
(symbol_list_new): Adjust.
* src/reader.c (symbol_typed_p): New.
(grammar_rule_check): Use it.
(grammar_midrule_action): Bind a mid-rule LHS to its rule.
Check its rule.
* tests/input.at (AT_CHECK_UNUSED_VALUES): New.
Use it.
* tests/actions.at (Exotic Dollars): Adjust.
ChangeLog
NEWS
src/reader.c
src/symlist.c
src/symlist.h
tests/actions.at
tests/input.at