Lines Matching refs:iRule
297 int iRule; /* Rule number as used in the generated tables */ member
1570 if( pA->iRule<pB->iRule ){ in Rule_merge()
1720 rp->iRule = rp->code ? i++ : -1; in main()
1724 if( rp->iRule<0 ) rp->iRule = i++; in main()
3367 fprintf(fp,"%*s reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3373 fprintf(fp,"%*s shift-reduce %-7d",indent,ap->sp->name,rp->iRule); in PrintAction()
3386 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3403 indent,ap->sp->name,ap->x.rp->iRule); in PrintAction()
3438 lemon_sprintf(buf,"(%d)",cfp->rp->iRule); in ReportOutput()
3505 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()