summaryrefslogtreecommitdiff
path: root/shared/runtime/pyexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/runtime/pyexec.c')
-rw-r--r--shared/runtime/pyexec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/runtime/pyexec.c b/shared/runtime/pyexec.c
index 2763319c0..2c9f1e80f 100644
--- a/shared/runtime/pyexec.c
+++ b/shared/runtime/pyexec.c
@@ -488,6 +488,8 @@ int pyexec_event_repl_process_char(int c) {
return res;
}
+MP_REGISTER_ROOT_POINTER(vstr_t * repl_line);
+
#else // MICROPY_REPL_EVENT_DRIVEN
int pyexec_raw_repl(void) {