First patches for 4.3.19:
new Makefiles for documentation; user_{input,output,error} streams are now aliases; restore YapLibDir support $(DESTDIR) fix call_residue/2 git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@8 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -894,7 +894,8 @@ can_unify(Term t1, Term t2, Term *Vars)
|
||||
if (IsVarTerm(t1)) {
|
||||
/* we know for sure they can't be different */
|
||||
if (IsVarTerm(t2)) {
|
||||
/* we need to suspend on both variables ! */
|
||||
/* we need to suspend on both variables because otherwise
|
||||
Y = susp(_) would not wakeup susp ! */
|
||||
*Vars = MkPairTerm(t1,MkPairTerm(t2,TermNil));
|
||||
return(TRUE);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user