diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-23 17:23:16 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-23 17:23:16 +1000 |
commit | 6d310a5552f43b3f984a5d8020b41301ab7937a4 (patch) | |
tree | 7ec7d64bd6ec2999ef2ed78f8e3ce6c28b0ea0f0 /tests/extmod/ubinascii_a2b_base64.py | |
parent | eeb9d99333fceaf924f7e367325c584d0a07cb48 (diff) | |
download | micropython-6d310a5552f43b3f984a5d8020b41301ab7937a4.tar.gz micropython-6d310a5552f43b3f984a5d8020b41301ab7937a4.zip |
py/parse: Only replace constants that are standalone identifiers.
This fixes constant substitution so that only standalone identifiers are
replaced with their constant value (if they have one). I.e. don't
replace NAME in expressions like obj.NAME or NAME = expr.
Diffstat (limited to 'tests/extmod/ubinascii_a2b_base64.py')
0 files changed, 0 insertions, 0 deletions