From 6169bbb3ad7c19f8d1af59f3b76919ac9611756b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Thu, 8 Oct 2015 10:16:42 +0100 Subject: [PATCH] avoid confusing with term --- H/YapText.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/H/YapText.h b/H/YapText.h index 93ad257bf..ec8231036 100644 --- a/H/YapText.h +++ b/H/YapText.h @@ -671,7 +671,7 @@ Yap_ListOfCodesToNumber(Term t0 USES_REGS) seq_tv_t inp, out; inp.val.t = t0; inp.type = YAP_STRING_CODES; - out.type = YAP_STRING_INT|YAP_STRING_FLOAT|YAP_STRING_BIG|YAP_STRING_TERM; + out.type = YAP_STRING_INT|YAP_STRING_FLOAT|YAP_STRING_BIG; if (!Yap_CVT_Text(&inp, &out PASS_REGS)) return 0L; return out.val.t; @@ -719,8 +719,8 @@ Yap_ListToNumber(Term t0 USES_REGS) seq_tv_t inp, out; inp.val.t = t0; - inp.type = YAP_STRING_STRING|YAP_STRING_ATOMS_CODES|YAP_STRING_TERM; - out.type = YAP_STRING_INT|YAP_STRING_FLOAT|YAP_STRING_BIG|YAP_STRING_TERM; + inp.type = YAP_STRING_STRING|YAP_STRING_ATOMS_CODES; + out.type = YAP_STRING_INT|YAP_STRING_FLOAT|YAP_STRING_BIG; if (!Yap_CVT_Text(&inp, &out PASS_REGS)) return 0L;