mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* 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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user