summaryrefslogtreecommitdiffstatshomepage
path: root/py/lexerstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-21 21:40:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-21 21:40:13 +0000
commit55baff4c9bcbc001cbb8972c289ebfa356d4665b (patch)
treebd086f9ddf8c5f2db9642ee04fc382064ebd2029 /py/lexerstr.c
parent91d457a27752fa125e9c6107bf51c918e021dc95 (diff)
downloadmicropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.tar.gz
micropython-55baff4c9bcbc001cbb8972c289ebfa356d4665b.zip
Revamp qstrs: they now include length and hash.
Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h
Diffstat (limited to 'py/lexerstr.c')
-rw-r--r--py/lexerstr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/lexerstr.c b/py/lexerstr.c
index b8594f4205..8cbf36d831 100644
--- a/py/lexerstr.c
+++ b/py/lexerstr.c
@@ -2,6 +2,8 @@
#include <stdio.h>
#include "misc.h"
+#include "mpconfig.h"
+#include "qstr.h"
#include "lexer.h"
typedef struct _mp_lexer_str_buf_t {