Lines Matching refs:apy
970 static int resolve_conflict(apx,apy,errsym) in resolve_conflict() argument
972 struct action *apy;
977 assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */
978 if( apx->type==SHIFT && apy->type==REDUCE ){
980 spy = apy->x.rp->precsym;
983 apy->type = CONFLICT;
986 apy->type = RD_RESOLVED;
990 apy->type = RD_RESOLVED; /* associativity */
995 apy->type = CONFLICT;
998 }else if( apx->type==REDUCE && apy->type==REDUCE ){
1000 spy = apy->x.rp->precsym;
1003 apy->type = CONFLICT;
1006 apy->type = RD_RESOLVED;
1015 apy->type==SH_RESOLVED ||
1016 apy->type==RD_RESOLVED ||
1017 apy->type==CONFLICT