Files
bison/tests
Theophile Ranquet 24d96dd3eb errors: indent "result type clash" error context
This used to be the format of the error report:

  input.y:6.5-10: result type clash on merge function 'merge': [...]
  input.y:2.4-9: previous declaration

In order to distinguish the actual error from the context provided, we
rather this new output:

  input.y:6.5-10: result type clash on merge function 'merge': [...]
  input.y:2.4-9:     previous declaration

Another patch will introduce an "error: " prefix to all non-indented
lines, giving yet better readability to the reports.

* src/complain.h (SUB_INDENT): Move to here.
* src/reader.c (record_merge_function_type): Use complain_at_indent to
output with increased indentation level.
* src/scan-code.l (SUB_INDENT): Remove from here.
* tests/glr-regression.at: Apply this change.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
2012-09-26 12:00:29 +02:00
..
2012-01-13 11:48:14 +01:00
2012-06-05 09:17:43 +02:00
2012-07-26 16:51:26 +02:00
2012-07-18 09:17:31 +02:00
2012-06-21 22:54:40 +02:00
2012-01-13 11:48:14 +01:00
2012-01-13 11:48:14 +01:00
2012-08-31 17:50:43 +02:00