From: Joel E. Denny Date: Wed, 16 Dec 2009 06:41:17 +0000 (-0500) Subject: * data/yacc.c: Reformat m4 a little. X-Git-Tag: v2.5_rc1~135 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/3bba2dadae2c76440018345bfd73f56452e6932d * data/yacc.c: Reformat m4 a little. (cherry picked from commit 19750d310c1f21b72fc26d0b8905fac08d175130) --- diff --git a/ChangeLog b/ChangeLog index bfba2ea6..bdf66b71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-12-16 Joel E. Denny + + * data/yacc.c: Reformat m4 a little. + 2009-12-16 Joel E. Denny Document gcc -Wundef fix. diff --git a/data/yacc.c b/data/yacc.c index a9815eee..25a7612b 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -728,9 +728,9 @@ while (YYID (0)) YYRHSLOC (Rhs, 0).last_column; \ } \ while (YYID (0)) -#endif +#endif]b4_locations_if([[ + -]b4_locations_if([[ /* YY_LOCATION_PRINT -- Print the location on the stream. This macro was not mandated originally: define only if we know we won't break user code: when these are the locations we know. */ @@ -744,14 +744,15 @@ while (YYID (0)) # else # define YY_LOCATION_PRINT(File, Loc) ((void) 0) # endif -#endif -]], [[ +#endif]], [[ + + /* This macro is provided for backward compatibility. */ #ifndef YY_LOCATION_PRINT # define YY_LOCATION_PRINT(File, Loc) ((void) 0) -#endif -]])[ +#endif]])[ + /* YYLEX -- calling `yylex' with the right arguments. */