mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-23 19:23:02 +00:00
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>
This commit is contained in:
committed by
Akim Demaille
parent
a974c1ec26
commit
b8e7ad5887
@@ -1650,9 +1650,9 @@ main (void)
|
||||
AT_BISON_OPTION_POPDEFS
|
||||
|
||||
AT_BISON_CHECK([[-o glr-regr18.c glr-regr18.y]], 1, [],
|
||||
[glr-regr18.y:26.18-24: result type clash on merge function 'merge': <type2> != <type1>
|
||||
[glr-regr18.y:26.18-24: error: result type clash on merge function 'merge': <type2> != <type1>
|
||||
glr-regr18.y:25.18-24: previous declaration
|
||||
glr-regr18.y:27.13-19: result type clash on merge function 'merge': <type3> != <type2>
|
||||
glr-regr18.y:27.13-19: error: result type clash on merge function 'merge': <type3> != <type2>
|
||||
glr-regr18.y:26.18-24: previous declaration
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user