Lines Matching refs:iRule
297 int iRule; /* Rule number as used in the generated tables */ member
1580 if( pA->iRule<pB->iRule ){ in Rule_merge()
1731 rp->iRule = rp->code ? i++ : -1; in main()
1735 if( rp->iRule<0 ) rp->iRule = i++; in main()
3373 fprintf(fp,"%*s reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3379 fprintf(fp,"%*s shift-reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3392 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3409 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3444 lemon_sprintf(buf,"(%d)",cfp->rp->iRule); in ReportOutput()
3511 fprintf(fp, "%4d: ", rp->iRule); in ReportOutput()
3585 act = lemp->minReduce + ap->x.rp->iRule; in compute_action()
3587 act = lemp->minShiftReduce + ap->x.rp->iRule; in compute_action()
3591 case REDUCE: act = lemp->minReduce + ap->x.rp->iRule; break; in compute_action()
4374 assert( i==rp->iRule ); in ReportTable()
4377 rp->iRule, rp->lhs->index in ReportTable()
4784 assert( rp->iRule==i ); in ReportTable()
4893 fprintf(out," case %d: /* ", rp->iRule); in ReportTable()
4899 fprintf(out," case %d: /* ", rp2->iRule); in ReportTable()
4901 fprintf(out," */ yytestcase(yyruleno==%d);\n", rp2->iRule); lineno++; in ReportTable()
4915 fprintf(out," /* (%d) ", rp->iRule); in ReportTable()
4919 rp->iRule); lineno++; in ReportTable()
4921 fprintf(out, " */ yytestcase(yyruleno==%d);\n", rp->iRule); lineno++; in ReportTable()
4924 rp->iRule); lineno++; in ReportTable()