]> git.saurik.com Git - bison.git/commit
POSIX: warn if %prec's token was not defined.
authorJoel E. Denny <jdenny@clemson.edu>
Wed, 30 Dec 2009 08:20:11 +0000 (03:20 -0500)
committerJoel E. Denny <jdenny@clemson.edu>
Thu, 31 Dec 2009 17:49:42 +0000 (12:49 -0500)
commitf1ceed07743630aa2aef7c77d8bde23c3794ee1b
tree17b619704159b05a21771eeb11c7195b9c813d0f
parentd2829fdc040f928cc3596725783183f9af8ca5af
POSIX: warn if %prec's token was not defined.

Reported by Florian Krohm at
<http://lists.gnu.org/archive/html/bug-bison/2009-12/msg00005.html>.
* NEWS (2.4.2): Document.
* src/reader.c (grammar_rule_check): Implement.
(grammar_current_rule_prec_set): Add comments explaining that we
here assume a %prec identifier is a token, but we still manage
to support POSIX.
* tests/input.at (%prec's token must be defined): New test
group.
ChangeLog
NEWS
src/reader.c
tests/input.at