diff options
author | Joel E. Denny <joeldenny@joeldenny.org> | 2010-04-30 14:41:07 -0400 |
---|---|---|
committer | Joel E. Denny <joeldenny@joeldenny.org> | 2010-04-30 14:59:24 -0400 |
commit | e02df72c2d249de05c28b1fbcd79131c816405d2 (patch) | |
tree | d7140772e38b541017fe6a400f1a60842ff04573 /NEWS | |
parent | ba3063f613e8e5303435f1f85c92a4a89dfb5769 (diff) | |
download | bison-e02df72c2d249de05c28b1fbcd79131c816405d2.tar.gz |
Revert 2009-12-30 change for undefined %prec token complaints.
That is, keep them as warnings because that should be sufficient
to satisfy POSIX without creating backward compatibility issues.
Suggested by Richard Stallman at
<http://lists.gnu.org/archive/html/bison-patches/2010-03/msg00033.html>.
* NEWS (2.5): Remove mention of complaint.
* src/reader.c (grammar_rule_check): Convert warning back to
complaint.
* tests/input.at (%prec's token must be defined): Update.
(cherry picked from commit 02354690ee02dfa05564137aafc6721eb54d21ab)
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -130,12 +130,6 @@ Bison News discussion of how to suppress C preprocessor warnings about YYFAIL being unused, see the Bison 2.4.2 NEWS entry. -** `%prec IDENTIFIER' requires IDENTIFIER to be defined separately. - - As promised in Bison 2.4.2's NEWS entry, it is now an error if a token - that appears after a %prec directive is not defined by %token, %left, - %right, or %nonassoc. This is required by POSIX. - ** Temporary hack for adding a semicolon to the user action. Previously, Bison appended a semicolon to every user action for |