summaryrefslogtreecommitdiffstatshomepage
path: root/qemu-arm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-12-05 22:50:16 +0000
committerDamien George <damien.p.george@gmail.com>2014-12-05 22:50:16 +0000
commit451a0870753be89f5a284fd39727705a3ad2109b (patch)
tree5b7dc84e42ece7da70b82b82ec4ca803f1029602 /qemu-arm/main.c
parent759cc9bcc8269e8c8ae5df9cc8504209eebbbf8d (diff)
downloadmicropython-451a0870753be89f5a284fd39727705a3ad2109b.tar.gz
micropython-451a0870753be89f5a284fd39727705a3ad2109b.zip
py: Fix printing of size_t entity; fix qemu-arm for changes to lexer.
Diffstat (limited to 'qemu-arm/main.c')
-rw-r--r--qemu-arm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-arm/main.c b/qemu-arm/main.c
index 1189ae7b8b..8cbeaaa6ef 100644
--- a/qemu-arm/main.c
+++ b/qemu-arm/main.c
@@ -32,7 +32,7 @@ void do_str(const char *src) {
}
// parse okay
- qstr source_name = mp_lexer_source_name(lex);
+ qstr source_name = lex->source_name;
mp_lexer_free(lex);
mp_obj_t module_fun = mp_compile(pn, source_name, MP_EMIT_OPT_NONE, true);