* src/output.c, src/reader.c, src/symtab.c, src/symtab.h: Rename

bucket.value as bucket.number.
This commit is contained in:
Akim Demaille
2002-04-07 15:29:56 +00:00
parent 9901390012
commit d9b739c32f
5 changed files with 31 additions and 25 deletions

View File

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