diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-08-15 23:47:59 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-08-15 23:47:59 +0100 |
| commit | e6c0dff9671c493e9a13a22a1b8902dee88da064 (patch) | |
| tree | 5f703c1264160f9c752f8ecb0e0683ddf7e0e622 /py/runtime0.h | |
| parent | a5190a7dac7a73e676d6d649035f846ea92d2d2d (diff) | |
py: Viper can now store to global.
Diffstat (limited to 'py/runtime0.h')
| -rw-r--r-- | py/runtime0.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py/runtime0.h b/py/runtime0.h index 01504f59c..dfce041b8 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -102,7 +102,9 @@ typedef enum { } mp_binary_op_t; typedef enum { - MP_F_LOAD_CONST_INT = 0, + MP_F_CONVERT_OBJ_TO_NATIVE = 0, + MP_F_CONVERT_NATIVE_TO_OBJ, + MP_F_LOAD_CONST_INT, MP_F_LOAD_CONST_DEC, MP_F_LOAD_CONST_STR, MP_F_LOAD_NAME, @@ -111,6 +113,7 @@ typedef enum { MP_F_LOAD_ATTR, MP_F_LOAD_METHOD, MP_F_STORE_NAME, + MP_F_STORE_GLOBAL, MP_F_STORE_ATTR, MP_F_OBJ_SUBSCR, MP_F_OBJ_IS_TRUE, |
