cleanup unnecessary MkFunctor
This commit is contained in:
2
C/eval.c
2
C/eval.c
@@ -47,7 +47,7 @@ Eval(Term t)
|
||||
ti[0] = t;
|
||||
ti[1] = MkIntegerTerm(0);
|
||||
/* error */
|
||||
terror = Yap_MkApplTerm(Yap_MkFunctor(AtomSlash,2), 2, ti);
|
||||
terror = Yap_MkApplTerm(FunctorSlash, 2, ti);
|
||||
Yap_Error(TYPE_ERROR_EVALUABLE, terror,
|
||||
"atom %s for arithmetic expression",
|
||||
RepAtom(name)->StrOfAE);
|
||||
|
Reference in New Issue
Block a user