diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-24 13:03:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-24 13:03:44 +1100 |
commit | 74f4d2c65945d727821503e768c71f4e6b37f471 (patch) | |
tree | cc0f3bc09270efc2f96477e6eb44a06349625701 /esp8266/xtirq.h | |
parent | 1034d9acc84317b21b953d3e9fd6ad5519d1c570 (diff) | |
download | micropython-74f4d2c65945d727821503e768c71f4e6b37f471.tar.gz micropython-74f4d2c65945d727821503e768c71f4e6b37f471.zip |
py/parse: Allow parser/compiler consts to be bignums.
This patch allows uPy consts to be bignums, eg:
X = const(1 << 100)
The infrastructure for consts to be a bignum (rather than restricted to
small integers) has been in place for a while, ever since constant folding
was upgraded to allow bignums. It just required a small change (in this
patch) to enable it.
Diffstat (limited to 'esp8266/xtirq.h')
0 files changed, 0 insertions, 0 deletions