handle delay overflow while in copy_attachments.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@472 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
92fe2d5c9f
commit
e6215e8073
@ -2018,9 +2018,14 @@ static void
|
||||
copy_attachments(CELL *ts)
|
||||
{
|
||||
while (TRUE) {
|
||||
Term t;
|
||||
/* store away in case there is an overflow */
|
||||
*--ASP = ts[3];
|
||||
attas[IntegerOfTerm(ts[2])].term_to_op(ts[1], ts[0]);
|
||||
if (ts[3] == TermNil) return;
|
||||
ts = RepAppl(ts[3])+1;
|
||||
t = *ASP;
|
||||
ASP++;
|
||||
if (t == TermNil) return;
|
||||
ts = RepAppl(t)+1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user