diff options
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c index caaf795ef9..8dbdac9d92 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -1192,13 +1192,14 @@ NORETURN void mp_native_raise(mp_obj_t o) { nlr_raise(mp_make_raise_obj(o)); } -// these must correspond to the respective enum +// these must correspond to the respective enum in runtime0.h void *const mp_fun_table[MP_F_NUMBER_OF] = { mp_convert_obj_to_native, mp_convert_native_to_obj, mp_load_const_int, mp_load_const_dec, mp_load_const_str, + mp_load_const_bytes, mp_load_name, mp_load_global, mp_load_build_class, @@ -1225,6 +1226,8 @@ void *const mp_fun_table[MP_F_NUMBER_OF] = { mp_call_method_n_kw, mp_getiter, mp_iternext, + nlr_push, + nlr_pop, mp_native_raise, mp_import_name, mp_import_from, |