diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2013-02-11 10:17:36 +0100 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2013-02-14 15:00:51 +0100 |
commit | fec5f3c0cc2c50a779dafb928fda105c1782446b (patch) | |
tree | 9d115299e1097ffe614f9fac1d5d6bfbd1afa7b6 /tests/existing.at | |
parent | 9a9130f26d8df2c1fe2051c5881e0da804ba8e9c (diff) | |
download | bison-fec5f3c0cc2c50a779dafb928fda105c1782446b.tar.gz |
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.
Diffstat (limited to 'tests/existing.at')
-rw-r--r-- | tests/existing.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/existing.at b/tests/existing.at index 215993cb..cd80c50a 100644 --- a/tests/existing.at +++ b/tests/existing.at @@ -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] |