fix get_num

This commit is contained in:
Vitor Santos Costa
2016-08-15 23:42:49 -05:00
parent fab0075f9b
commit 2726fb279c
3 changed files with 11 additions and 7 deletions

View File

@@ -94,9 +94,6 @@ Term Yap_StringToNumberTerm(const char *s, encoding_t *encp) {
#ifdef __ANDROID__
while (*s && isblank(*s) && Yap_wide_chtype(*s) == BS)
s++;
#else
while (*s && iswblank(*s++))
;
#endif
t = Yap_scan_num(GLOBAL_Stream + sno);
if (LOCAL_Error_TYPE == SYNTAX_ERROR)