https://github.com/micropython/micropython/issues/3596
Basically,
Code: Select all
mp_state_ctx.vm
Code: Select all
vstr_t* repl_line
Code: Select all
typedef struct _repl_t {
// This structure originally also held current REPL line,
// but it was moved to MP_STATE_VM(repl_line) as containing
// root pointer. Still keep structure in case more state
// will be added later.
//vstr_t line;
bool cont_line;
} repl_t;