]> git.saurik.com Git - bison.git/commitdiff
Merge remote-tracking branch 'origin/maint'
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 28 Sep 2012 13:28:46 +0000 (15:28 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 1 Oct 2012 10:12:38 +0000 (12:12 +0200)
* origin/maint:
  gnulib: update
  errors: indent "user token number redeclaration" context

Conflicts:
src/symtab.c

gnulib
src/symtab.c
tests/input.at

diff --git a/gnulib b/gnulib
index cb38ce7db84edb421fbaeea5abe16ebeb8ad8a5c..dcf27bef48c9800d5a2be8349226f73f1b8ff2e5 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit cb38ce7db84edb421fbaeea5abe16ebeb8ad8a5c
+Subproject commit dcf27bef48c9800d5a2be8349226f73f1b8ff2e5
index 916536ae3d05e3c12fcfb608857cbb07465e44eb..66e20c0520e2c0566e2a0ca38ba6b08f8de51145 100644 (file)
@@ -569,6 +569,7 @@ user_token_number_redeclaration (int num, symbol *first, symbol *second)
   complain_at_indent (second->location, complaint, &i,
                       _("user token number %d redeclaration for %s"),
                       num, second->tag);
+  i += SUB_INDENT;
   complain_at_indent (first->location, complaint, &i,
                       _("previous declaration for %s"),
                       first->tag);
index 188ed166e823ac8beadd5a6d4dfcbef5600696a2..ac9be79d2f91f09307b37da7959def260d665da2 100644 (file)
@@ -805,9 +805,9 @@ start: DECIMAL_1 HEXADECIMAL_2;
 
 AT_BISON_CHECK([redecl.y], [1], [],
 [[redecl.y:10.10-22: error: user token number 11259375 redeclaration for HEXADECIMAL_1
-redecl.y:9.8-16:   previous declaration for DECIMAL_1
+redecl.y:9.8-16:       previous declaration for DECIMAL_1
 redecl.y:12.10-18: error: user token number 16702650 redeclaration for DECIMAL_2
-redecl.y:11.10-22: previous declaration for HEXADECIMAL_2
+redecl.y:11.10-22:     previous declaration for HEXADECIMAL_2
 ]])
 
 AT_DATA_GRAMMAR([too-large.y],