Home | History | Annotate | Download | only in src

Lines Matching refs:FIRSTS

43 static bitsetv firsts = NULL;
45 /* Retrieve the FDERIVES/FIRSTS sets of the nonterminals numbered Var. */
47 #define FIRSTS(Var) firsts[(Var) - ntokens]
77 fprintf (stderr, "FIRSTS\n");
81 fprintf (stderr, "\t%s firsts\n", symbols[i]->tag);
82 BITSET_FOR_EACH (iter, FIRSTS (i), j, 0)
114 | Set FIRSTS to be an NVARS array of NVARS bitsets indicating which |
129 firsts = bitsetv_create (nvars, nvars, BITSET_FIXED);
136 bitset_set (FIRSTS (i), sym - ntokens);
140 bitsetv_matrix_dump (stderr, "RTC: Firsts Input", firsts);
141 bitsetv_reflexive_transitive_closure (firsts);
143 bitsetv_matrix_dump (stderr, "RTC: Firsts Output", firsts);
171 if (bitset_test (FIRSTS (i), j - ntokens))
178 bitsetv_free (firsts);