* src/reader.c, src/reader.h (tags): Remove.

Adjust all users to use symbols[i]->tag.
This commit is contained in:
Akim Demaille
2001-12-29 14:18:52 +00:00
parent 0e78e603f6
commit ad949da96b
13 changed files with 61 additions and 50 deletions

View File

@@ -25,7 +25,7 @@
#include "system.h"
#include "getargs.h"
#include "reader.h"
#include "symtab.h"
#include "types.h"
#include "gram.h"
#include "reduce.h"
@@ -39,7 +39,7 @@ nullable_print (FILE *out)
int i;
fputs ("NULLABLE\n", out);
for (i = ntokens; i < nsyms; i++)
fprintf (out, "\t%s: %s\n", tags[i], nullable[i] ? "yes" : "no");
fprintf (out, "\t%s: %s\n", symbols[i]->tag, nullable[i] ? "yes" : "no");
fputs ("\n\n", out);
}