]> git.saurik.com Git - bison.git/commit - NEWS
errors: indent "symbol redeclaration" context
authorTheophile Ranquet <ranquet@lrde.epita.fr>
Wed, 26 Sep 2012 09:49:19 +0000 (11:49 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Wed, 26 Sep 2012 10:03:57 +0000 (12:03 +0200)
commitcbaea0106d2c70e45ddb5fa6d662d31c9bb3d4f8
treec07d500fa03198d182191f3b673b5905822ed9b9
parent24d96dd3ebb49d003c29904fc5152ee5ec220e86
errors: indent "symbol redeclaration" context

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

For example, what used to be:
  input.y:5.10-24: %printer redeclaration for <field2>
  input.y:3.11-25: previous declaration

is now:
  input.y:5.10-24: %printer redeclaration for <field2>
  input.y:3.11-25:     previous declaration

* NEWS: Document this change.
* src/symtab.c (symbol_redeclaration, semantic_type_redeclaration,
user_token_number_redeclaration, default_tagged_destructor_set,
default_tagless_destructor_set, default_tagged_printer_set,
default_tagless_printer_set): 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>
NEWS
src/symtab.c
tests/input.at