Skip to content
  • Damien George's avatar
    py/parse: Allow parser/compiler consts to be bignums. · 74f4d2c6
    Damien George authored
    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.
    74f4d2c6