This commit is contained in:
Vitor Santos Costa
2018-07-21 23:29:01 +01:00
parent 0c950ce5b3
commit b4201dd0f3
5 changed files with 17 additions and 11 deletions

View File

@@ -158,9 +158,9 @@ else if (PyDict_Check(pVal)) {
Term t0[2], to;
t0[0] = python_to_term__(key);
t0[1] = python_to_term__(value);
to = Yap_MkApplTerm(FunctorEq, 2, t0);
to = Yap_MkApplTerm(FunctorModule, 2, t0);
if (left--) {
t = Yap_MkNewApplTerm(FunctorOr, 2);
t = Yap_MkNewApplTerm(FunctorComma, 2);
*opt = t;
CELL *pt = RepAppl(t) + 1;
pt[0] = to;