* src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just

defining.
* src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
This commit is contained in:
Akim Demaille
2000-11-07 15:56:20 +00:00
parent 553e2b222f
commit 5af1f54933
4 changed files with 49 additions and 43 deletions

View File

@@ -1975,7 +1975,7 @@ reader (void)
/* Write closing delimiters for actions and guards. */
output_trailers ();
if (locations_flag)
obstack_grow_literal_string (&table_obstack, "#define YYLSP_NEEDED\n\n");
obstack_grow_literal_string (&table_obstack, "#define YYLSP_NEEDED 1\n\n");
/* Assign the symbols their symbol numbers. Write #defines for the
token symbols into FDEFINES if requested. */
packsymbols ();