diff options
author | Joel E. Denny <jdenny@clemson.edu> | 2009-12-16 01:41:17 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny@clemson.edu> | 2009-12-16 01:51:49 -0500 |
commit | 3bba2dadae2c76440018345bfd73f56452e6932d (patch) | |
tree | d696f880ced21c090d4f4b191ff9db528c1e4628 /data | |
parent | af2ffe5c230fefdc862cafaeb9a4bc07c1dbc8a6 (diff) | |
download | bison-3bba2dadae2c76440018345bfd73f56452e6932d.tar.gz |
* data/yacc.c: Reformat m4 a little.
(cherry picked from commit 19750d310c1f21b72fc26d0b8905fac08d175130)
Diffstat (limited to 'data')
-rw-r--r-- | data/yacc.c | 13 |
1 files changed, 7 insertions, 6 deletions
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. */ |