mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* data/yacc.c: Reformat m4 a little.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-12-16 Joel E. Denny <jdenny@clemson.edu>
|
||||||
|
|
||||||
|
* data/yacc.c: Reformat m4 a little.
|
||||||
|
|
||||||
2009-12-16 Joel E. Denny <jdenny@clemson.edu>
|
2009-12-16 Joel E. Denny <jdenny@clemson.edu>
|
||||||
|
|
||||||
Document gcc -Wundef fix.
|
Document gcc -Wundef fix.
|
||||||
|
|||||||
13
data/yacc.c
13
data/yacc.c
@@ -660,9 +660,9 @@ while (YYID (0))
|
|||||||
YYRHSLOC (Rhs, 0).last_column; \
|
YYRHSLOC (Rhs, 0).last_column; \
|
||||||
} \
|
} \
|
||||||
while (YYID (0))
|
while (YYID (0))
|
||||||
#endif
|
#endif]b4_locations_if([[
|
||||||
|
|
||||||
|
|
||||||
]b4_locations_if([[
|
|
||||||
/* YY_LOCATION_PRINT -- Print the location on the stream.
|
/* YY_LOCATION_PRINT -- Print the location on the stream.
|
||||||
This macro was not mandated originally: define only if we know
|
This macro was not mandated originally: define only if we know
|
||||||
we won't break user code: when these are the locations we know. */
|
we won't break user code: when these are the locations we know. */
|
||||||
@@ -676,14 +676,15 @@ while (YYID (0))
|
|||||||
# else
|
# else
|
||||||
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif]], [[
|
||||||
]], [[
|
|
||||||
|
|
||||||
/* This macro is provided for backward compatibility. */
|
/* This macro is provided for backward compatibility. */
|
||||||
|
|
||||||
#ifndef YY_LOCATION_PRINT
|
#ifndef YY_LOCATION_PRINT
|
||||||
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
# define YY_LOCATION_PRINT(File, Loc) ((void) 0)
|
||||||
#endif
|
#endif]])[
|
||||||
]])[
|
|
||||||
|
|
||||||
/* YYLEX -- calling `yylex' with the right arguments. */
|
/* YYLEX -- calling `yylex' with the right arguments. */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user