summaryrefslogtreecommitdiffstatshomepage
path: root/py/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/compile.h')
-rw-r--r--py/compile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/compile.h b/py/compile.h
index 52c42aff4f..983a443e95 100644
--- a/py/compile.h
+++ b/py/compile.h
@@ -33,4 +33,5 @@ enum {
MP_EMIT_OPT_ASM_THUMB,
};
+// the compiler will free the parse tree (pn) before it returns
mp_obj_t mp_compile(mp_parse_node_t pn, qstr source_file, uint emit_opt, bool is_repl);