Searched refs:ap2 (Results 1 – 1 of 1) sorted by relevance
380 static int actioncmp(ap1,ap2) in actioncmp() argument382 struct action *ap2;385 rc = ap1->sp->index - ap2->sp->index;386 if( rc==0 ) rc = (int)ap1->type - (int)ap2->type;389 assert( ap2->type==REDUCE || ap2->type==RD_RESOLVED || ap2->type==CONFLICT);390 rc = ap1->x.rp->index - ap2->x.rp->index;3632 struct action *ap, *ap2; local3647 for(ap2=ap->next; ap2; ap2=ap2->next){3648 if( ap2->type!=REDUCE ) continue;3649 rp2 = ap2->x.rp;