mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
diagnostics: no longer pretty-print rules in error messages, carets suffice
* src/gram.c (grammar_rules_useless_report): Let -fcaret handle the pretty-printing of the guilty rules. (rule_print): Inline in its only use. * tests/conflicts.at, tests/existing.at, tests/reduce.at, * tests/regression.at: Adjust. * NEWS: Document.
This commit is contained in:
@@ -2001,7 +2001,7 @@ dnl without being followed by "of".)
|
||||
[[VARIABLE, '=', LABEL, LEFT, DOT_X]],
|
||||
|
||||
dnl BISON-STDERR
|
||||
[[input.y:471.11-48: warning: rule useless in parser due to conflicts: path: ORDINAL LAST object_type relative_path [-Wother]
|
||||
[[input.y:471.11-48: warning: rule useless in parser due to conflicts [-Wother]
|
||||
input.y:19.8-12: warning: useless associativity for LABEL, use %precedence [-Wprecedence]
|
||||
input.y:20.8-15: warning: useless associativity for VARIABLE, use %precedence [-Wprecedence]
|
||||
input.y:21.8-13: warning: useless associativity for NUMBER, use %precedence [-Wprecedence]
|
||||
|
||||
Reference in New Issue
Block a user