summaryrefslogtreecommitdiffstatshomepage
path: root/qemu-arm/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-arm/test_main.c')
-rw-r--r--qemu-arm/test_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-arm/test_main.c b/qemu-arm/test_main.c
index 1d699d3e25..43b06d06df 100644
--- a/qemu-arm/test_main.c
+++ b/qemu-arm/test_main.c
@@ -25,8 +25,8 @@ inline void do_str(const char *src) {
nlr_buf_t nlr;
if (nlr_push(&nlr) == 0) {
qstr source_name = lex->source_name;
- mp_parse_node_t pn = mp_parse(lex, MP_PARSE_FILE_INPUT);
- mp_obj_t module_fun = mp_compile(pn, source_name, MP_EMIT_OPT_NONE, true);
+ mp_parse_tree_t parse_tree = mp_parse(lex, MP_PARSE_FILE_INPUT);
+ mp_obj_t module_fun = mp_compile(&parse_tree, source_name, MP_EMIT_OPT_NONE, true);
mp_call_function_0(module_fun);
nlr_pop();
} else {