* src/bison.simple (YYLSP_NEEDED): New definition.

* src/output.c (prepare): Add macro insertion of `locations_flag'
This commit is contained in:
Marc Autret
2001-08-31 18:30:21 +00:00
parent 17da6427fe
commit 9e644e648d
3 changed files with 10 additions and 0 deletions

View File

@@ -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