warning
This commit is contained in:
parent
92cb3e34eb
commit
aed44554f2
@ -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)) {
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user