Lines Matching refs:ap2
516 struct action *ap2 in actioncmp() argument
519 rc = ap1->sp->index - ap2->sp->index; in actioncmp()
521 rc = (int)ap1->type - (int)ap2->type; in actioncmp()
524 rc = ap1->x.rp->index - ap2->x.rp->index; in actioncmp()
527 rc = (int) (ap2 - ap1); in actioncmp()
4991 struct action *ap, *ap2, *nextap; in CompressTables() local
5012 for(ap2=ap->next; ap2; ap2=ap2->next){ in CompressTables()
5013 if( ap2->type!=REDUCE ) continue; in CompressTables()
5014 rp2 = ap2->x.rp; in CompressTables()
5091 for(ap2=stp->ap; ap2 && (ap2==ap || ap2->sp!=rp->lhs); ap2=ap2->next){} in CompressTables()
5092 assert( ap2!=0 ); in CompressTables()
5093 ap->spOpt = ap2->sp; in CompressTables()
5094 ap->type = ap2->type; in CompressTables()
5095 ap->x = ap2->x; in CompressTables()