BUGFIX: State hadn't been added consistently to unify: one call missed.
This commit is contained in:
parent
9dc240126e
commit
d4bdd920f9
@ -156,7 +156,7 @@ unify (Term t1, Term t2, Termlist tl, int (*callback) (), void *state)
|
|||||||
t2 = deVar (t2);
|
t2 = deVar (t2);
|
||||||
if (t1 == t2)
|
if (t1 == t2)
|
||||||
{
|
{
|
||||||
return callback (tl);
|
return callback (tl, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(hasTermVariable (t1) || hasTermVariable (t2)))
|
if (!(hasTermVariable (t1) || hasTermVariable (t2)))
|
||||||
|
Loading…
Reference in New Issue
Block a user