summaryrefslogtreecommitdiff
path: root/tests/existing.at
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2013-02-11 10:17:36 +0100
committerAkim Demaille <akim@lrde.epita.fr>2013-02-14 15:00:51 +0100
commitfec5f3c0cc2c50a779dafb928fda105c1782446b (patch)
tree9d115299e1097ffe614f9fac1d5d6bfbd1afa7b6 /tests/existing.at
parent9a9130f26d8df2c1fe2051c5881e0da804ba8e9c (diff)
downloadbison-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.at2
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]