error_handling

This commit is contained in:
Vítor Santos Costa
2018-04-18 15:13:11 +01:00
parent 8bfa835959
commit 6095fe6e00
13 changed files with 67 additions and 48 deletions

View File

@@ -2032,8 +2032,8 @@ static Int JumpToEnv(USES_REGS1) {
// DBTerm *dbt = Yap_RefToException();
while (handler
&& Yap_PredForChoicePt(handler, NULL) != PredDollarCatch
//&& LOCAL_CBorder < LCL0 - (CELL *)handler
//&& handler->cp_ap != NOCODE
&& LOCAL_CBorder < LCL0 - (CELL *)handler
&& handler->cp_ap != NOCODE
&& handler->cp_b != NULL
) {
handler->cp_ap = TRUSTFAILCODE;