current_pred again
This commit is contained in:
parent
f031e78def
commit
9b38290b8c
@ -863,11 +863,10 @@ static Int cont_current_predicate(USES_REGS1) {
|
|||||||
if (task != TermUser) {
|
if (task != TermUser) {
|
||||||
ModEntry *m = Yap_GetModuleEntry(TermProlog);
|
ModEntry *m = Yap_GetModuleEntry(TermProlog);
|
||||||
pp = firstModulePred(m->PredForME, task);
|
pp = firstModulePred(m->PredForME, task);
|
||||||
if (!pp)
|
if (!pp) {
|
||||||
cut_fail();
|
cut_fail();
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
cut_fail();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
npp = firstModulePred(pp, task);
|
npp = firstModulePred(pp, task);
|
||||||
|
Reference in New Issue
Block a user