pesky ^C and abort fixes (I hope)
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@236 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -298,7 +298,7 @@ absmi(int inp)
|
||||
restore_absmi_regs(old_regs);
|
||||
#endif
|
||||
if (!growheap(FALSE)) {
|
||||
Abort("[ SYSTEM ERROR: YAP failed to reserve space in growheap ]\n");
|
||||
Error(SYSTEM_ERROR, TermNil, "YAP failed to reserve space in growheap");
|
||||
FAIL();
|
||||
}
|
||||
goto reset_absmi;
|
||||
@@ -2077,7 +2077,7 @@ absmi(int inp)
|
||||
}
|
||||
if (PrologMode & AbortMode) {
|
||||
PrologMode &= ~AbortMode;
|
||||
Abort("");
|
||||
Error(PURE_ABORT, TermNil, "");
|
||||
}
|
||||
JMPNext();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user