Searched refs:nprod (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/cmd/sgs/yacc/common/ |
H A D | y2.c | 149 int nprod = 1; /* number of productions */ variable 671 *mem = *prdptr[nprod-1]; 703 levprd[nprod] = toklev[*mem]& ~04; 729 levprd[nprod] = toklev[j] & ~04; 734 had_act[nprod] = 1; 735 levprd[nprod] |= ACTFLAG; 736 (void) fprintf(faction, "\ncase %d:", nprod); 737 cpyact(mem-prdptr[nprod] - 1); 743 (void) wsprintf(actname, "$$%d", nprod); 757 for (p = mem; p >= prdptr[nprod]; --p) [all …]
|
H A D | dextern.h | 149 #define PLOOP(s, i) for (i = s; i < nprod; ++i) 221 extern int nprod; /* number of productions */
|
H A D | y1.c | 259 warray(L"yyr1", levprd, nprod); in others() 261 aryfil(temp1, nprod, 0); in others() 265 warray(L"yyr2", temp1, nprod); in others() 438 nprod, nprodsz, nstate, nstatesz); in summary() 671 if (ptrpy != &pyield[nprod]) in cpres() 683 ptrpy-&pyield[nprod]); in cpres()
|
H A D | y3.c | 117 wdef(L"YYNPROD", nprod); in output()
|