]> git.saurik.com Git - bison.git/commit
errors: indent "%define var" redefinition context
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Wed, 26 Sep 2012 09:49:20 +0000 (11:49 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 26 Sep 2012 10:06:03 +0000 (12:06 +0200)
commit6b1e1872d482435960c10f425df3c7000dc05266
tree6f417f4b6eadfc086131113dc5c7f2504a03b5d3
parentcbaea0106d2c70e45ddb5fa6d662d31c9bb3d4f8
errors: indent "%define var" redefinition context

This is the continuation of the work on the readability of errors
context.

For example, what used to be:
  input.y:2.9-11: %define variable 'var' redefined
  input.y:1.9-11: previous definition

is now:
  input.y:2.9-11: %define variable 'var' redefined
  input.y:1.9-11:     previous definition

* src/muscle-tab.c (muscle_percent_define_insert): Use
complain_at_indent to output with increased indentation level.
* tests/input.at: Apply this change.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/muscle-tab.c
tests/input.at