mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
POSIX: complain if %prec's token was not defined.
* NEWS (2.5): Document. * src/reader.c (grammar_rule_check): Convert warning to complaint. * tests/input.at (%prec's token must be defined): Update.
This commit is contained in:
6
NEWS
6
NEWS
@@ -130,6 +130,12 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user