]> git.saurik.com Git - bison.git/commitdiff
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:51:35 +0000 (12:51 -0500)
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.
(cherry picked from commit f1ceed07743630aa2aef7c77d8bde23c3794ee1b)


No differences found