indicators

This commit is contained in:
Vítor Santos Costa
2019-02-28 21:57:48 +00:00
parent 8d30742d8f
commit 5ff09fbf26
5 changed files with 52 additions and 9 deletions

View File

@@ -82,7 +82,7 @@ restart:
Functor fun = FunctorOfTerm(t);
if (IsExtensionFunctor(fun)) {
throw YAPError(SOURCE(), TYPE_ERROR_CALLABLE,
Yap_PredicateIndicator(t, tmod), pname);
Yap_TermToIndicator(t, tmod), pname);
}
if (fun == FunctorModule) {
tmod = ArgOfTerm(1, t);