Home | History | Annotate | Download | only in src

Lines Matching refs:ntokens

59 /* LA is a LR by NTOKENS matrix of bits.  LA[l, i] is 1 if the rule
99 goto_map[TRANSITION_SYMBOL (sp, i) - ntokens]++;
106 for (i = ntokens; i < nsyms; i++)
108 temp_map[i - ntokens] = k;
109 k += goto_map[i - ntokens];
112 for (i = ntokens; i < nsyms; i++)
113 goto_map[i - ntokens] = temp_map[i - ntokens];
115 goto_map[nsyms - ntokens] = ngotos;
116 temp_map[nsyms - ntokens] = ngotos;
128 goto_number k = temp_map[TRANSITION_SYMBOL (sp, i) - ntokens]++;
151 low = goto_map[sym - ntokens];
152 high = goto_map[sym - ntokens + 1] - 1;
178 F = bitsetv_create (ngotos, ntokens, BITSET_FIXED);
192 if (nullable[sym - ntokens])
244 for (rulep = derives[symbol1 - ntokens]; *rulep; rulep++)
276 if (nullable[*rp - ntokens])
388 pLA = LA = bitsetv_create (nLA, ntokens, BITSET_FIXED);