This commit is contained in:
Vitor Santos Costa
2017-06-16 11:53:46 +01:00
parent 8ac3d980c2
commit 31f1c25ee7
8 changed files with 23 additions and 190 deletions

View File

@@ -99,7 +99,7 @@ PyObject *find_obj(PyObject *ob, term_t l, bool eval) {
yt = YAP_GetFromSlot(l);
while (YAP_IsPairTerm(yt)) {
hd = YAP_HeadOfTerm(yt);
ob = yap_to_python(hd, eval, ob);
ob = yap_to_python(hd, true, ob);
ob = CHECKNULL(yt, ob);
if (!ob){
return Py_None;