Lines Matching refs:apx
973 static int resolve_conflict(apx,apy,errsym) in resolve_conflict() argument
974 struct action *apx; in resolve_conflict()
980 assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */
981 if( apx->type==SHIFT && apy->type==REDUCE ){
982 spx = apx->sp;
991 apx->type = SH_RESOLVED;
995 apx->type = SH_RESOLVED;
1001 }else if( apx->type==REDUCE && apy->type==REDUCE ){
1002 spx = apx->x.rp->precsym;
1011 apx->type = RD_RESOLVED;
1015 apx->type==SH_RESOLVED ||
1016 apx->type==RD_RESOLVED ||
1017 apx->type==CONFLICT ||