diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-24 14:42:50 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-24 14:42:50 +0000 |
commit | 564963a1700bfca8f053f864ad170d4a34a26270 (patch) | |
tree | fe908fc883f98319f84bc4e34b6d3ba8e76a3365 /py/emitglue.h | |
parent | d00d8ac95c927b5a4ebc14fa9dbb2dfee7b2ae40 (diff) | |
download | micropython-564963a1700bfca8f053f864ad170d4a34a26270.tar.gz micropython-564963a1700bfca8f053f864ad170d4a34a26270.zip |
py: Fix debug-printing of bytecode line numbers.
Also move the raw bytecode printing code from emitglue to mp_bytecode_print.
Diffstat (limited to 'py/emitglue.h')
-rw-r--r-- | py/emitglue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitglue.h b/py/emitglue.h index 087b2296e9..91d5285ad5 100644 --- a/py/emitglue.h +++ b/py/emitglue.h @@ -35,7 +35,7 @@ typedef enum { MP_CODE_NATIVE_ASM, } mp_raw_code_kind_t; -typedef struct _mp_code_t { +typedef struct _mp_raw_code_t { mp_raw_code_kind_t kind : 3; mp_uint_t scope_flags : 7; mp_uint_t n_pos_args : 11; |