summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-12 22:35:37 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-12 22:35:37 +0100
commit96f137b24a6c0b2e1e3c6f5fb8617b8a7f7896d6 (patch)
tree5e9b6751ee1d8ec2585e7f6fbd8b4f66a8e2d35d /py
parentf42dbb98d10104df4d0db65c89e1788035ca6788 (diff)
downloadmicropython-96f137b24a6c0b2e1e3c6f5fb8617b8a7f7896d6.tar.gz
micropython-96f137b24a6c0b2e1e3c6f5fb8617b8a7f7896d6.zip
py: Rename BYTE_CODE to BYTECODE (this was missed in previous rename).
Diffstat (limited to 'py')
-rw-r--r--py/compile.c2
-rw-r--r--py/compile.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/compile.c b/py/compile.c
index 36ffa928ee..cdd3a5b030 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -1147,7 +1147,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_bytecode) {
- *emit_options = MP_EMIT_OPT_BYTE_CODE;
+ *emit_options = MP_EMIT_OPT_BYTECODE;
#if MICROPY_EMIT_NATIVE
} else if (attr == MP_QSTR_native) {
*emit_options = MP_EMIT_OPT_NATIVE_PYTHON;
diff --git a/py/compile.h b/py/compile.h
index 4606378976..52c42aff4f 100644
--- a/py/compile.h
+++ b/py/compile.h
@@ -27,7 +27,7 @@
// These must fit in 8 bits; see scope.h
enum {
MP_EMIT_OPT_NONE,
- MP_EMIT_OPT_BYTE_CODE,
+ MP_EMIT_OPT_BYTECODE,
MP_EMIT_OPT_NATIVE_PYTHON,
MP_EMIT_OPT_VIPER,
MP_EMIT_OPT_ASM_THUMB,