]> 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:53:51 +0000 (12:53 -0500)
commit8bb3a2e7dfd705ff7cb78fb12028557a92b4feaf
tree8a35ee37af98c90f1f33f83ae8f76d15aad43ca7
parent505e155199907c3e2634a84a9c343efb9db1eac7
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.
(cherry picked from commit f1ceed07743630aa2aef7c77d8bde23c3794ee1b)
ChangeLog
NEWS
src/reader.c
tests/input.at