This commit is contained in:
Vítor Santos Costa 2016-02-14 04:12:31 +00:00
parent 92cb3e34eb
commit aed44554f2
2 changed files with 2 additions and 2 deletions

View File

@ -466,7 +466,7 @@ atom_codes( USES_REGS1 )
t1 = Deref(ARG1);
restart_aux:
if (IsAtomTerm(t1)) {
Term tf = Yap_AtomicToListOfCodes(t1 PASS_REGS);
Term tf = Yap_AtomToListOfCodes(t1 PASS_REGS);
if (tf)
return Yap_unify( ARG2, tf );
} else if (IsVarTerm(t1)) {

View File

@ -134,7 +134,7 @@ bool Yap_getUnknown ( Term mod) {
#define ByteAdr(X) ((char *)&(X))
Term Yap_Module_Name(PredEntry *ap) {
CACHE_REGS
Term mod;
if (!ap)
return TermUser;
if (!ap->ModuleOfPred)