From: Paul Eggert Date: Sat, 27 May 2006 00:28:17 +0000 (+0000) Subject: * data/yacc.c (yy_reduce_print): Omit trailing white space in X-Git-Tag: v2.3b~389 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/aefef0d6cf40ee09d6ffb6b24547adc718de6327 * data/yacc.c (yy_reduce_print): Omit trailing white space in generated source code. --- diff --git a/ChangeLog b/ChangeLog index d310fbe3..85646aec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-26 Paul Eggert + + * data/yacc.c (yy_reduce_print): Omit trailing white space in + generated source code. Problem reported by Frans Englich in + . + 2006-05-22 Paul Eggert * Makefile.maint (gzip_rsyncable, GZIP_ENV): Compute within the diff --git a/data/yacc.c b/data/yacc.c index f518c956..1e8fa569 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -693,9 +693,9 @@ do { \ ]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;