fix bug in coroutining support

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1078 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2004-06-16 14:09:34 +00:00
parent b13320c82e
commit 1e50d32aed
1 changed files with 3 additions and 0 deletions

View File

@ -99,6 +99,8 @@
'$call_atts'(V,New)
).
'$call_atts'(V,_) :-
nonvar(V), !.
'$call_atts'(V,_) :-
'$undefined'(woken_att_do(_,_), attributes), !,
attributes:bind_attvar(V).
@ -706,6 +708,7 @@ call_residue(Goal,Residue) :-
attributes:update_att(V, 0, G).
'$frozen_goals'(V,Gs) :-
var(V),
attributes:get_att(V, 0, Gs), nonvar(Gs).