improve error handling for qload

This commit is contained in:
Vitor Santos Costa 2013-01-18 14:30:10 +00:00
parent 7e3db0f75c
commit 8758b6de5a

View File

@ -1441,6 +1441,17 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
serious = TRUE;
}
break;
case SAVED_STATE_ERROR:
{
int i;
i = strlen(tmpbuf);
nt[0] = MkAtomTerm(AtomSystemError);
psize -= i;
fun = FunctorError;
serious = TRUE;
}
break;
case SYSTEM_ERROR:
{
int i;