Lines Matching refs:apy
973 static int resolve_conflict(apx,apy,errsym) in resolve_conflict() argument
975 struct action *apy;
980 assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */
981 if( apx->type==SHIFT && apy->type==REDUCE ){
983 spy = apy->x.rp->precsym;
986 apy->type = CONFLICT;
989 apy->type = RD_RESOLVED;
993 apy->type = RD_RESOLVED; /* associativity */
998 apy->type = CONFLICT;
1001 }else if( apx->type==REDUCE && apy->type==REDUCE ){
1003 spy = apy->x.rp->precsym;
1006 apy->type = CONFLICT;
1009 apy->type = RD_RESOLVED;
1018 apy->type==SH_RESOLVED ||
1019 apy->type==RD_RESOLVED ||
1020 apy->type==CONFLICT