fix current_predicate missing predicates
This commit is contained in:
parent
247371c095
commit
21d379bfb6
@ -983,10 +983,7 @@ static Int init_current_predicate(USES_REGS1) {
|
|||||||
(q = RepFunctorProp(p)->PropsOfFE) == NIL) {
|
(q = RepFunctorProp(p)->PropsOfFE) == NIL) {
|
||||||
p = p->NextOfPE;
|
p = p->NextOfPE;
|
||||||
}
|
}
|
||||||
if (!q) {
|
if (!p)
|
||||||
if (p)
|
|
||||||
p = p->NextOfPE;
|
|
||||||
} else if (!p)
|
|
||||||
cut_fail();
|
cut_fail();
|
||||||
EXTRA_CBACK_ARG(4, 1) = MkAddressTerm(p);
|
EXTRA_CBACK_ARG(4, 1) = MkAddressTerm(p);
|
||||||
EXTRA_CBACK_ARG(4, 2) = MkAddressTerm(q);
|
EXTRA_CBACK_ARG(4, 2) = MkAddressTerm(q);
|
||||||
|
Reference in New Issue
Block a user