summaryrefslogtreecommitdiffstatshomepage
path: root/py/makeqstrdata.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-27 19:23:46 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-27 19:23:46 +0100
commit708c07325007148d8e553b20df3f9110cedb58ab (patch)
tree0ecae18e4c406d3d9ffb4c1195ee1400ac4ffd67 /py/makeqstrdata.py
parent968bf34c4c7c457816eb3a9d8358519ba1d3a65f (diff)
downloadmicropython-708c07325007148d8e553b20df3f9110cedb58ab.tar.gz
micropython-708c07325007148d8e553b20df3f9110cedb58ab.zip
py: Add '*' qstr for 'import *'; use blank qstr for comprehension arg.
Diffstat (limited to 'py/makeqstrdata.py')
-rw-r--r--py/makeqstrdata.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index afde772054..34413f0beb 100644
--- a/py/makeqstrdata.py
+++ b/py/makeqstrdata.py
@@ -20,6 +20,7 @@ codepoint2name[ord('%')] = 'percent'
codepoint2name[ord('#')] = 'hash'
codepoint2name[ord('{')] = 'brace_open'
codepoint2name[ord('}')] = 'brace_close'
+codepoint2name[ord('*')] = 'star'
# this must match the equivalent function in qstr.c
def compute_hash(qstr):