]> git.saurik.com Git - bison.git/commitdiff
* data/yacc.c (yy_reduce_print): Omit trailing white space in
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2006 00:28:17 +0000 (00:28 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2006 00:28:17 +0000 (00:28 +0000)
generated source code.

ChangeLog
data/yacc.c

index d310fbe35715f81701e29abdad0bd64cd05ec332..85646aecfe5f5604402697b7175c6fe861e82a0b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * data/yacc.c (yy_reduce_print): Omit trailing white space in
+       generated source code.  Problem reported by Frans Englich in
+       <http://lists.gnu.org/archive/html/bug-bison/2006-05/msg00049.html>.
+
 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Makefile.maint (gzip_rsyncable, GZIP_ENV): Compute within the
 2006-05-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Makefile.maint (gzip_rsyncable, GZIP_ENV): Compute within the
index f518c9560361ab318ba96d463389c98ecd8b1376..1e8fa56952ae27fd1d1d69567bd8c5436aa1f9c1 100644 (file)
@@ -693,9 +693,9 @@ do {                                                                \
 
 ]b4_c_function_def([yy_reduce_print], [static void],
                   [[YYSTYPE *yyvsp], [yyvsp]],
 
 ]b4_c_function_def([yy_reduce_print], [static void],
                   [[YYSTYPE *yyvsp], [yyvsp]],
-    b4_locations_if([[[YYLTYPE *yylsp], [yylsp]],])
-                  [[int yyrule], [yyrule]]m4_ifset([b4_parse_param], [,])
-                  b4_parse_param)[
+    b4_locations_if([[[YYLTYPE *yylsp], [yylsp]],
+                  ])[[int yyrule], [yyrule]]m4_ifset([b4_parse_param], [,
+                  ])b4_parse_param)[
 {
   int yynrhs = yyr2[yyrule];
   int yyi;
 {
   int yynrhs = yyr2[yyrule];
   int yyi;