mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/bison.simple (YYLSP_NEEDED): New definition.
* src/output.c (prepare): Add macro insertion of `locations_flag'
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-08-31 Marc Autret <autret_m@epita.fr>
|
||||
|
||||
* src/bison.simple (YYLSP_NEEDED): New definition.
|
||||
* src/output.c (prepare): Add macro insertion of `locations_flag'
|
||||
|
||||
2001-08-31 Pascal Bart <pascal.bart@epita.fr>
|
||||
|
||||
* src/output.c (prepare): Delete insertion of previous muscles,
|
||||
|
||||
@@ -278,6 +278,9 @@ while (0)
|
||||
Current.last_column = Rhs[N].last_column;
|
||||
#endif
|
||||
|
||||
/* Definition of YYLSP_NEEDED. */
|
||||
#define YYLSP_NEEDED %%locations_flag
|
||||
|
||||
/* YYLEX -- calling `yylex' with the right arguments. */
|
||||
|
||||
#if YYPURE
|
||||
|
||||
@@ -1074,6 +1074,8 @@ prepare (void)
|
||||
MACRO_INSERT_INT ("nstates", nstates);
|
||||
MACRO_INSERT_INT ("ntokens", ntokens);
|
||||
|
||||
MACRO_INSERT_INT ("locations_flag", locations_flag);
|
||||
|
||||
if (spec_name_prefix)
|
||||
MACRO_INSERT_STRING ("prefix", spec_name_prefix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user