This commit is contained in:
Vítor Santos Costa
2018-04-02 14:49:45 +01:00
parent 48bcffdce7
commit c1d81ea7c6
28 changed files with 1237 additions and 1059 deletions

View File

@@ -1817,7 +1817,8 @@ p_new_mutex(void)
if (creeping) {
Yap_signal( YAP_CREEP_SIGNAL );
} else if ( excep != 0) {
return Yap_JumpToEnv(excep);
LOCAL_ActiveError->errorNo = IntegerOfTerm(excep);
return Yap_JumpToEnv();
}
return rc;
}