mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 13:23:04 +00:00
* src/output.c, src/reader.c, src/symtab.c, src/symtab.h: Rename
bucket.value as bucket.number.
This commit is contained in:
@@ -577,7 +577,7 @@ token_definitions_output (FILE *out)
|
||||
if (number == SALIAS)
|
||||
continue;
|
||||
/* Skip error token. */
|
||||
if (symbol->value == error_token_number)
|
||||
if (symbol->number == error_token_number)
|
||||
continue;
|
||||
if (symbol->tag[0] == '\'')
|
||||
continue; /* skip literal character */
|
||||
@@ -600,7 +600,7 @@ token_definitions_output (FILE *out)
|
||||
if (semantic_parser)
|
||||
/* FIXME: This is probably wrong, and should be just as
|
||||
above. --akim. */
|
||||
fprintf (out, "# define T%s\t%d\n", symbol->tag, symbol->value);
|
||||
fprintf (out, "# define T%s\t%d\n", symbol->tag, symbol->number);
|
||||
first = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user