Home | History | Annotate | Download | only in src

Lines Matching refs:FIRSTS

46 static bitsetv firsts = NULL;
48 /* Retrieve the FDERIVES/FIRSTS sets of the nonterminals numbered Var. */
50 #define FIRSTS(Var) firsts[(Var) - ntokens]
80 fprintf (stderr, "FIRSTS\n");
84 fprintf (stderr, "\t%s firsts\n", symbols[i]->tag);
85 BITSET_FOR_EACH (iter, FIRSTS (i), j, 0)
117 | Set FIRSTS to be an NVARS array of NVARS bitsets indicating which |
132 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED);
139 bitset_set (FIRSTS (i), sym - ntokens);
143 bitsetv_matrix_dump (stderr, "RTC: Firsts Input", firsts);
144 bitsetv_reflexive_transitive_closure (firsts);
146 bitsetv_matrix_dump (stderr, "RTC: Firsts Output", firsts);
174 if (bitset_test (FIRSTS (i), j - ntokens))
181 bitsetv_free (firsts);