atom_oncat was not allocating memory right
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@353 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -344,6 +344,8 @@ Error (yap_error_number type, Term where, char *format,...)
|
||||
unify(t, where);
|
||||
where = Deref(where);
|
||||
}
|
||||
/* Exit Abort Mode, if we were there */
|
||||
PrologMode &= ~AbortMode;
|
||||
PrologMode |= InErrorMode;
|
||||
where = CopyTerm(where);
|
||||
va_start (ap, format);
|
||||
|
||||
Reference in New Issue
Block a user