This commit is contained in:
Vitor Santos Costa 2016-08-30 08:25:47 -05:00
parent 1ead544a50
commit 269e7b8806

View File

@ -704,13 +704,6 @@ restart_aux:
cut_fail();
}
#define CastToAtom(x) CastToAtom__(x PASS_REGS)
static Term CastToAtom__(Term t USES_REGS) {
if (IsAtomTerm(t))
return t;
return MkAtomTerm(Yap_AtomicToAtom(t PASS_REGS));
}
#define CastToNumeric(x) CastToNumeric__(x PASS_REGS)