* data/yacc.c (yy_reduce_print): Omit trailing white space in

generated source code.
This commit is contained in:
Paul Eggert
2006-05-27 00:28:17 +00:00
parent fcd8e2011d
commit aefef0d6cf
2 changed files with 9 additions and 3 deletions

View File

@@ -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> 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.maint (gzip_rsyncable, GZIP_ENV): Compute within the * Makefile.maint (gzip_rsyncable, GZIP_ENV): Compute within the

View File

@@ -693,9 +693,9 @@ do { \
]b4_c_function_def([yy_reduce_print], [static void], ]b4_c_function_def([yy_reduce_print], [static void],
[[YYSTYPE *yyvsp], [yyvsp]], [[YYSTYPE *yyvsp], [yyvsp]],
b4_locations_if([[[YYLTYPE *yylsp], [yylsp]],]) b4_locations_if([[[YYLTYPE *yylsp], [yylsp]],
[[int yyrule], [yyrule]]m4_ifset([b4_parse_param], [,]) ])[[int yyrule], [yyrule]]m4_ifset([b4_parse_param], [,
b4_parse_param)[ ])b4_parse_param)[
{ {
int yynrhs = yyr2[yyrule]; int yynrhs = yyr2[yyrule];
int yyi; int yyi;