mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +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:
@@ -812,8 +812,8 @@ AT_DATA([[input.y]],
|
||||
start: %prec PREC ;
|
||||
]])
|
||||
|
||||
AT_BISON_CHECK([[input.y]], [[0]], [],
|
||||
[[input.y:2.8-17: warning: token for %prec is not defined: PREC
|
||||
AT_BISON_CHECK([[input.y]], [[1]], [],
|
||||
[[input.y:2.8-17: token for %prec is not defined: PREC
|
||||
]])
|
||||
|
||||
AT_CLEANUP
|
||||
|
||||
Reference in New Issue
Block a user