error handling (Miguel Areias)

This commit is contained in:
Vitor Santos Costa
2017-03-23 12:28:46 +00:00
parent 6741d961b3
commit 4180fd9737
9 changed files with 85 additions and 78 deletions

View File

@@ -328,7 +328,7 @@ void Yap_ThrowError__(const char *file, const char *function, int lineno,
} else {
Yap_Error__(file, function, lineno, type, where);
}
siglongjmp(*LOCAL_RestartEnv, 4);
siglongjmp(*LOCAL_RestartEnv, 5);
}
/**