diff options
author | Damien <damien.p.george@gmail.com> | 2013-11-02 20:34:54 +0000 |
---|---|---|
committer | Damien <damien.p.george@gmail.com> | 2013-11-02 20:34:54 +0000 |
commit | 6ba1314265e07f79e18d52f04435c5c846cb9405 (patch) | |
tree | ac86d782c6f839e324fa96e27344e9d56bd9a2e9 /py/runtime.c | |
parent | 7410e440aba6826629e850f69a38615ad1039814 (diff) | |
download | micropython-6ba1314265e07f79e18d52f04435c5c846cb9405.tar.gz micropython-6ba1314265e07f79e18d52f04435c5c846cb9405.zip |
Fix bug: emit native didn't clear last_was_return in label_assign.
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c index 6270039597..76f194daa3 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -1925,7 +1925,9 @@ py_obj_t rt_iternext(py_obj_t o_in) { } } +// these must correspond to the respective enum void *const rt_fun_table[RT_F_NUMBER_OF] = { + rt_load_const_dec, rt_load_const_str, rt_load_name, rt_load_global, |