]> 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:51:35 +0000 (12:51 -0500)
commit2c2035282c525f1474bb2d4ce20a45c183aae93f
treefcfc8cbdcad9b67301ca5f4f5f5555550a2c5d73
parenta93cdd3d67b29a2eea2d461bf566d8d60aecc7e9
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