Skip to content

Commit fb5ba7e

Browse files
committed
[update] port/mpy_main.c
1 parent 5e58ddf commit fb5ba7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port/mpy_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void do_str(const char *src, mp_parse_input_kind_t input_kind) {
5353
mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, src, strlen(src), 0);
5454
qstr source_name = lex->source_name;
5555
mp_parse_tree_t parse_tree = mp_parse(lex, input_kind);
56-
mp_obj_t module_fun = mp_compile(&parse_tree, source_name, MP_EMIT_OPT_NONE, true);
56+
mp_obj_t module_fun = mp_compile(&parse_tree, source_name, true);
5757
mp_call_function_0(module_fun);
5858
nlr_pop();
5959
} else {

0 commit comments

Comments
 (0)