changes to support extended foreign interface (include slots, new exception
handling for C-code, and several fixes to calling foreign code). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@470 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -3287,8 +3287,8 @@ MyEraseClause(Clause *clau)
|
||||
}
|
||||
if ( P == clau->ClCode) {
|
||||
yamop *nextto;
|
||||
P = (yamop *)(RTRYCODE);
|
||||
nextto = (yamop *)RTRYCODE;
|
||||
P = RTRYCODE;
|
||||
nextto = RTRYCODE;
|
||||
nextto->u.ld.d = clau->ClCode->u.ld.d;
|
||||
nextto->u.ld.s = clau->ClCode->u.ld.s;
|
||||
nextto->u.ld.p = clau->ClCode->u.ld.p;
|
||||
@@ -3305,7 +3305,7 @@ MyEraseClause(Clause *clau)
|
||||
if (DBREF_IN_USE(ref))
|
||||
return;
|
||||
if ( P == clau->ClCode ) {
|
||||
yamop *np = (yamop *)RTRYCODE;
|
||||
yamop *np = RTRYCODE;
|
||||
/* make it the next alternative */
|
||||
np->u.ld.d = (CODEADDR)find_next_clause((DBRef)(NEXTOP(P,ld)->u.sla.l2));
|
||||
if (np->u.ld.d == NULL)
|
||||
|
Reference in New Issue
Block a user