Lines Matching refs:NTBASE
367 q = chcopy(sarr, nontrst[*p-NTBASE].name);
413 cp = (i >= NTBASE) ? nontrst[i-NTBASE].name : tokset[i].name; in symnam()
646 c = i+NTBASE; in cpres()
701 if (ch < NTBASE) { /* should be token */ in cpfir()
704 } else if (!pempty[ch-NTBASE]) in cpfir()
718 for (p = *s; (ch = (*p-NTBASE)) >= 0; ++p) { in cpfir()
769 for (i = (c >= NTBASE) ? ntstates[c-NTBASE] : tstates[c]; in state()
815 if (c >= NTBASE) { in state()
816 mstates[nstate] = ntstates[c - NTBASE]; in state()
817 ntstates[c - NTBASE] = nstate; in state()
877 if (pempty[*prdptr[i] - NTBASE]) in cempty()
880 if (*p >= NTBASE && pempty[*p-NTBASE] == WHOKNOWS) in cempty()
883 pempty[*prdptr[i]-NTBASE] = OK; in cempty()
931 if (pempty[*prdptr[i]-NTBASE] == WHOKNOWS) { in cempty()
933 *p >= NTBASE && pempty[*p-NTBASE] == EMPTY; ++p) in cempty()
937 pempty[*prdptr[i]-NTBASE] = EMPTY; in cempty()
994 if (c < NTBASE) in stagen()
996 else temp1[c-NTBASE] = state(c); in stagen()
1053 if (c < NTBASE) { in closure()
1074 if (ch < NTBASE) { in closure()
1080 pfirst[ch-NTBASE]->lset); in closure()
1081 if (!pempty[ch-NTBASE]) in closure()
1092 c -= NTBASE; /* c is now nonterminal number */ in closure()