summaryrefslogtreecommitdiffstatshomepage
path: root/py/qstrdefs.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-24 00:22:00 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-01-24 02:34:22 +0200
commitab5d08280bda4e8c96a0729ae99400e1a8bf08a5 (patch)
tree37db0ce9f5efa0d6d448dd319035bcdb96e297a1 /py/qstrdefs.h
parentd552db426b3b79813a6269e4c18519b2d22195e4 (diff)
downloadmicropython-ab5d08280bda4e8c96a0729ae99400e1a8bf08a5.tar.gz
micropython-ab5d08280bda4e8c96a0729ae99400e1a8bf08a5.zip
Allow qstr's with non-ident chars, construct good identifier for them.
Also, add qstr's for string appearing in unix REPL loop, gross effect being less allocations for each command run.
Diffstat (limited to 'py/qstrdefs.h')
-rw-r--r--py/qstrdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/py/qstrdefs.h b/py/qstrdefs.h
index 9bc01c5851..f2c4dfd97f 100644
--- a/py/qstrdefs.h
+++ b/py/qstrdefs.h
@@ -80,3 +80,11 @@ Q(sort)
Q(join)
Q(strip)
Q(format)
+
+Q(<module>)
+Q(<lambda>)
+Q(<listcomp>)
+Q(<dictcomp>)
+Q(<setcomp>)
+Q(<genexpr>)
+Q(<stdin>)