diff options
author | Theophile Ranquet <theophile.ranquet@gmail.com> | 2012-09-28 12:12:59 +0000 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-09-28 14:00:09 +0200 |
commit | b506d9bfcb9e96d07264a43da7bdf136329dbc86 (patch) | |
tree | e7d9a376cfaa512a4575bc5cbef97366656fbf8c /src | |
parent | bd52638008b361db9b368923a976a08d934efcd7 (diff) | |
download | bison-b506d9bfcb9e96d07264a43da7bdf136329dbc86.tar.gz |
errors: indent "user token number redeclaration" context
This is the continuation of the work on the readability of errors
context.
* src/symtab.c (user_token_number_redeclaration): 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>
Diffstat (limited to 'src')
-rw-r--r-- | src/symtab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/symtab.c b/src/symtab.c index 2e0b9201..56cfe511 100644 --- a/src/symtab.c +++ b/src/symtab.c @@ -534,6 +534,7 @@ user_token_number_redeclaration (int num, symbol *first, symbol *second) complain_at_indent (second->location, &i, _("user token number %d redeclaration for %s"), num, second->tag); + i += SUB_INDENT; complain_at_indent (first->location, &i, _("previous declaration for %s"), first->tag); |