exception at fail could loop with bad env. #59
This commit is contained in:
parent
b93e5fd300
commit
c00facdd17
@ -2759,6 +2759,7 @@ Yap_absmi(int inp)
|
|||||||
SREG = (CELL *)RepPredProp(Yap_GetPredPropByAtom(AtomFail,0));
|
SREG = (CELL *)RepPredProp(Yap_GetPredPropByAtom(AtomFail,0));
|
||||||
/* make sure we have the correct environment for continuation */
|
/* make sure we have the correct environment for continuation */
|
||||||
ENV = B->cp_env;
|
ENV = B->cp_env;
|
||||||
|
YENV = (CELL *)B;
|
||||||
goto creep;
|
goto creep;
|
||||||
}
|
}
|
||||||
/* don't do debugging and friends here */
|
/* don't do debugging and friends here */
|
||||||
|
Reference in New Issue
Block a user