Lines Matching refs:ntokens
49 #define FDERIVES(Var) fderives[(Var) - ntokens]
50 #define FIRSTS(Var) firsts[(Var) - ntokens]
80 for (i = ntokens; i < nsyms; i++) in print_firsts()
87 symbols[j + ntokens]->tag); in print_firsts()
101 for (i = ntokens; i < nsyms; i++) in print_fderives()
132 for (i = ntokens; i < nsyms; i++) in set_firsts()
133 for (j = 0; derives[i - ntokens][j]; ++j) in set_firsts()
135 item_number sym = derives[i - ntokens][j]->rhs[0]; in set_firsts()
137 bitset_set (FIRSTS (i), sym - ntokens); in set_firsts()
170 for (i = ntokens; i < nsyms; ++i) in set_fderives()
171 for (j = ntokens; j < nsyms; ++j) in set_fderives()
172 if (bitset_test (FIRSTS (i), j - ntokens)) in set_fderives()
173 for (k = 0; derives[j - ntokens][k]; ++k) in set_fderives()
174 bitset_set (FDERIVES (i), derives[j - ntokens][k]->number); in set_fderives()