Lines Matching refs:iRule
298 int iRule; /* Rule number as used in the generated tables */ member
1571 if( pA->iRule<pB->iRule ){ in Rule_merge()
1721 rp->iRule = rp->code ? i++ : -1; in main()
1725 if( rp->iRule<0 ) rp->iRule = i++; in main()
3368 fprintf(fp,"%*s reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3374 fprintf(fp,"%*s shift-reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3387 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3404 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3439 lemon_sprintf(buf,"(%d)",cfp->rp->iRule); in ReportOutput()
3506 fprintf(fp, "%4d: ", rp->iRule); in ReportOutput()
3580 act = lemp->minReduce + ap->x.rp->iRule; in compute_action()
3582 act = lemp->minShiftReduce + ap->x.rp->iRule; in compute_action()
3586 case REDUCE: act = lemp->minReduce + ap->x.rp->iRule; break; in compute_action()
4368 assert( i==rp->iRule ); in ReportTable()
4371 rp->iRule, rp->lhs->index in ReportTable()
4777 assert( rp->iRule==i ); in ReportTable()
4886 fprintf(out," case %d: /* ", rp->iRule); in ReportTable()
4892 fprintf(out," case %d: /* ", rp2->iRule); in ReportTable()
4894 fprintf(out," */ yytestcase(yyruleno==%d);\n", rp2->iRule); lineno++; in ReportTable()
4908 fprintf(out," /* (%d) ", rp->iRule); in ReportTable()
4912 rp->iRule); lineno++; in ReportTable()
4914 fprintf(out, " */ yytestcase(yyruleno==%d);\n", rp->iRule); lineno++; in ReportTable()
4917 rp->iRule); lineno++; in ReportTable()