diff options
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -463,6 +463,9 @@ rb_cstr_to_inum(str, base, badcheck) } continue; } + else if (!ISASCII(c)) { + break; + } else if (isdigit(c)) { c -= '0'; } |