diff options
author | Damien George <damien.p.george@gmail.com> | 2014-05-10 10:36:38 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-05-10 10:36:38 +0100 |
commit | 3417bc2f25c492f7551e35d14349d85a45122b43 (patch) | |
tree | 550e4a6b5350cedd8b89ee476f53d943712c7453 /py/compile.c | |
parent | 6e8085b425a9d02ac3e204651e2c9d8de9a23a85 (diff) | |
download | micropython-3417bc2f25c492f7551e35d14349d85a45122b43.tar.gz micropython-3417bc2f25c492f7551e35d14349d85a45122b43.zip |
py: Rename byte_code to bytecode everywhere.
bytecode is the more widely used. See issue #590.
Diffstat (limited to 'py/compile.c')
-rw-r--r-- | py/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/compile.c b/py/compile.c index 8a26f6dc35..36ffa928ee 100644 --- a/py/compile.c +++ b/py/compile.c @@ -1146,7 +1146,7 @@ STATIC bool compile_built_in_decorator(compiler_t *comp, int name_len, mp_parse_ } qstr attr = MP_PARSE_NODE_LEAF_ARG(name_nodes[1]); - if (attr == MP_QSTR_byte_code) { + if (attr == MP_QSTR_bytecode) { *emit_options = MP_EMIT_OPT_BYTE_CODE; #if MICROPY_EMIT_NATIVE } else if (attr == MP_QSTR_native) { |