summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitcpy.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-12-29 18:01:01 +0000
committerDamien <damien.p.george@gmail.com>2013-12-29 18:01:01 +0000
commitde690d128bbec4f53e8a7d6149738a6facae4382 (patch)
tree817a4c8ee94b7576dbfc47cd9a5de67f7c741109 /py/emitcpy.c
parentb86e3f92932ec543788dc66948519d770d0e5bb0 (diff)
downloadmicropython-de690d128bbec4f53e8a7d6149738a6facae4382.tar.gz
micropython-de690d128bbec4f53e8a7d6149738a6facae4382.zip
Add unix-cpy, used to test Micro Python byte code against CPython.
Diffstat (limited to 'py/emitcpy.c')
-rw-r--r--py/emitcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitcpy.c b/py/emitcpy.c
index 52f804925c..b107c0bf11 100644
--- a/py/emitcpy.c
+++ b/py/emitcpy.c
@@ -131,7 +131,7 @@ static void emit_cpy_import_star(emit_t *emit) {
}
}
-static void emit_cpy_load_const_tok(emit_t *emit, py_token_kind_t tok) {
+static void emit_cpy_load_const_tok(emit_t *emit, mp_token_kind_t tok) {
emit_pre(emit, 1, 3);
if (emit->pass == PASS_3) {
printf("LOAD_CONST ");