summaryrefslogtreecommitdiff
path: root/ports/qemu-arm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/qemu-arm/main.c')
-rw-r--r--ports/qemu-arm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/qemu-arm/main.c b/ports/qemu-arm/main.c
index 4cdd14828..41bf9457b 100644
--- a/ports/qemu-arm/main.c
+++ b/ports/qemu-arm/main.c
@@ -18,7 +18,7 @@ void do_str(const char *src, mp_parse_input_kind_t input_kind) {
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);
qstr source_name = lex->source_name;
mp_parse_tree_t parse_tree = mp_parse(lex, input_kind);
- mp_obj_t module_fun = mp_compile(&parse_tree, source_name, MP_EMIT_OPT_NONE, true);
+ mp_obj_t module_fun = mp_compile(&parse_tree, source_name, true);
mp_call_function_0(module_fun);
nlr_pop();
} else {