]> git.saurik.com Git - bison.git/commit
errors: prefix the output with "error: "
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Wed, 26 Sep 2012 09:49:22 +0000 (11:49 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 26 Sep 2012 10:11:51 +0000 (12:11 +0200)
commitb8e7ad588711ab1a87a7c30667a8d84fed72d75a
treefe5669f04988d19b8c85bf3cbc84b61689091c6c
parenta974c1ec2608ffbff4780210aa4bad025d361271
errors: prefix the output with "error: "

This improves readability. This is also what gcc does.

* NEWS: Document this change.
* src/complain.c (complain_at): Prefix all errors with "error: ".
(complain_at_indent, warn_at_indent): Do not prefix the context
information of errors, which are basically just indented errors.
* tests/conflicts.at, tests/glr-regression.at, tests/input.at,
tests/named-refs.at, tests/output.at, tests/push.at,
tests/regression.at, tests/skeletons.at: Apply this change.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/complain.c
tests/conflicts.at
tests/glr-regression.at
tests/input.at
tests/named-refs.at
tests/output.at
tests/push.at
tests/regression.at
tests/skeletons.at