This commit is contained in:
Vitor Santos Costa
2018-07-03 10:45:22 +01:00
parent 48540ccc78
commit 21a7a3ef44
10 changed files with 13 additions and 14 deletions

View File

@@ -82,7 +82,6 @@ Term Yap_StringToNumberTerm(const char *s, encoding_t *encp, bool error_on) {
CACHE_REGS
int sno;
int i = push_text_stack();
char buf [16];
Atom nat = Yap_LookupAtom(Yap_StrPrefix(s, 16));
sno = Yap_open_buf_read_stream(s, strlen(s), encp, MEM_BUF_USER, nat, MkAtomTerm(Yap_LookupAtom("eval")));
if (sno < 0)