commit | a32c1e41cc28c5f7cd95191918cebd0e447a2fce | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed May 07 18:30:52 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Wed May 07 18:30:52 2014 +0100 |
tree | cc6a7b0c47d4ad2e96c8142a73a6eaaf77f6fa34 | |
parent | 36db6bcf54fd32a247c85719832a9cf43e124ab5 [diff] [blame] |
py: Improve native emitter; now supports more opcodes.
diff --git a/py/objint_longlong.c b/py/objint_longlong.c index d00bb6d..f648615 100644 --- a/py/objint_longlong.c +++ b/py/objint_longlong.c
@@ -161,7 +161,8 @@ return o; } -mp_obj_t mp_obj_new_int_from_long_str(const char *s) { +mp_obj_t mp_obj_new_int_from_qstr(qstr qst) { + const char *s = qstr_str(qst); long long v; char *end; // TODO: this doesn't handle Python hacked 0o octal syntax