]> git.saurik.com Git - bison.git/commit - NEWS
* src/reader.c (grammar_current_rule_check): Also check that $$
authorAkim Demaille <akim@epita.fr>
Tue, 27 Dec 2005 17:50:00 +0000 (17:50 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 27 Dec 2005 17:50:00 +0000 (17:50 +0000)
commit8f3596a6337cf30a3641967d450d1c9d77861edc
tree7f58d6ffa79c7180aac148be2960a376a26949f5
parentf8e1c9e55b6f51b5144ad19a7fc11d2a774c5d58
* src/reader.c (grammar_current_rule_check): Also check that $$
is used.
Take the rule to check as argument, hence rename as...
(grammar_rule_check): this.
* src/reader.h, src/reader.c (grammar_rule_begin, grammar_rule_end):
Rename as...
(grammar_rule_begin, grammar_rule_end): these, for consistency.
(grammar_midrule_action, grammar_symbol_append): Now static.
* tests/torture.at (input): Don't rely on the default action
being always performed.
* tests/calc.at: "Set" $$ even when the action is "cut" with
YYERROR or other.
* tests/actions.at (Exotic Dollars): Instead of using unused
values, check that the warning is issued.
ChangeLog
NEWS
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.c
src/reader.h
src/scan-gram.l
tests/actions.at
tests/calc.at
tests/torture.at