mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 21:33:04 +00:00
* src/output.c (prepare): Drop the muscle `ntbase' which
duplicates ntokens. * src/bison.simple: Formatting/comment changes. Use YYNTOKENS only, which is documented, but not YYNTBASE, which is an undocumented synonym.
This commit is contained in:
@@ -1738,12 +1738,12 @@ symbols_save (void)
|
||||
if (c != '\0')
|
||||
continue;
|
||||
|
||||
obstack_fgrow2 (&tokendefs, "# define\t%s\t%d\n",
|
||||
obstack_fgrow2 (&tokendefs, "# define %s\t%d\n",
|
||||
symbol, bp->user_token_number);
|
||||
if (semantic_parser)
|
||||
/* FIXME: This is probably wrong, and should be just as
|
||||
above. --akim. */
|
||||
obstack_fgrow2 (&tokendefs, "# define\tT%s\t%d\n", symbol, bp->value);
|
||||
obstack_fgrow2 (&tokendefs, "# define T%s\t%d\n", symbol, bp->value);
|
||||
}
|
||||
|
||||
obstack_1grow (&tokendefs, 0);
|
||||
|
||||
Reference in New Issue
Block a user