]> git.saurik.com Git - bison.git/commit
diagnostics: no longer pretty-print rules in error messages, carets suffice
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 11 Feb 2013 09:17:36 +0000 (10:17 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 14 Feb 2013 14:00:51 +0000 (15:00 +0100)
commitfec5f3c0cc2c50a779dafb928fda105c1782446b
tree9d115299e1097ffe614f9fac1d5d6bfbd1afa7b6
parent9a9130f26d8df2c1fe2051c5881e0da804ba8e9c
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.
NEWS
src/gram.c
tests/conflicts.at
tests/existing.at
tests/reduce.at
tests/regression.at