diff options
Diffstat (limited to 'py/strtonum.c')
-rw-r--r-- | py/strtonum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/strtonum.c b/py/strtonum.c index 109ea1123b..02c1506683 100644 --- a/py/strtonum.c +++ b/py/strtonum.c @@ -10,7 +10,6 @@ #include "nlr.h" #include "obj.h" - long strtonum(const char *restrict s, int base) { int c, neg = 0; const char *p = s; @@ -33,6 +32,7 @@ long strtonum(const char *restrict s, int base) { } // find real radix base, and strip preced '0x', '0o' and '0b' + // TODO somehow merge with similar code in parse.c if ((base == 0 || base == 16) && c == '0') { c = *(p++); if ((c | 32) == 'x') { |