summaryrefslogtreecommitdiffstatshomepage
path: root/py/objexcept.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-10-08 14:58:15 +0100
committerDamien George <damien.p.george@gmail.com>2015-10-12 12:58:45 +0100
commit64f2b213bb5be33f06ee7ab755d9344cd7e5958c (patch)
tree8be9542ce68d3a91503e75669ba547740b3b65e1 /py/objexcept.h
parent91fc075a33a6f0bf8e1a07b797f6fd01207a5e17 (diff)
downloadmicropython-64f2b213bb5be33f06ee7ab755d9344cd7e5958c.tar.gz
micropython-64f2b213bb5be33f06ee7ab755d9344cd7e5958c.zip
py: Move constant folding from compiler to parser.
It makes much more sense to do constant folding in the parser while the parse tree is being built. This eliminates the need to create parse nodes that will just be folded away. The code is slightly simpler and a bit smaller as well. Constant folding now has a configuration option, MICROPY_COMP_CONST_FOLDING, which is enabled by default.
Diffstat (limited to 'py/objexcept.h')
0 files changed, 0 insertions, 0 deletions