Searched refs:nprod (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | y2.c | 147 int nprod = 1; /* number of productions */ variable 638 *mem = *prdptr[nprod-1]; in setup() 670 levprd[nprod] = toklev[*mem]& ~04; in setup() 696 levprd[nprod] = toklev[j] & ~04; in setup() 701 had_act[nprod] = 1; in setup() 702 levprd[nprod] |= ACTFLAG; in setup() 703 (void) fprintf(faction, "\ncase %d:", nprod); in setup() 704 cpyact(mem-prdptr[nprod] - 1); in setup() 710 (void) wsprintf(actname, "$$%d", nprod); in setup() 724 for (p = mem; p >= prdptr[nprod]; --p) in setup() [all …]
|
H A D | dextern.h | 147 #define PLOOP(s, i) for (i = s; i < nprod; ++i) 219 extern int nprod; /* number of productions */
|
H A D | y1.c | 258 warray(L"yyr1", levprd, nprod); in others() 260 aryfil(temp1, nprod, 0); in others() 264 warray(L"yyr2", temp1, nprod); in others() 436 nprod, nprodsz, nstate, nstatesz); in summary() 665 if (ptrpy != &pyield[nprod]) in cpres() 677 ptrpy-&pyield[nprod]); in cpres()
|
H A D | y3.c | 115 wdef(L"YYNPROD", nprod); in output()
|