summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitbc.c
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-05 22:11:01 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-05 22:11:01 +0000
commit8428b8f3c94fb4adab6b094c1e0718168ebd8cbd (patch)
tree06cfd0bcfb68771884761209939c47adc8457657 /py/emitbc.c
parentf1c6ad46afa3eaf6df999cd51eb406110b6cac69 (diff)
parent12e2656472bf53e467c066eda6f3e177a97210ca (diff)
downloadmicropython-8428b8f3c94fb4adab6b094c1e0718168ebd8cbd.tar.gz
micropython-8428b8f3c94fb4adab6b094c1e0718168ebd8cbd.zip
Merge remote-tracking branch 'upstream/master' into list_insert
Diffstat (limited to 'py/emitbc.c')
-rw-r--r--py/emitbc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/emitbc.c b/py/emitbc.c
index dc1988582c..c0ec2469a6 100644
--- a/py/emitbc.c
+++ b/py/emitbc.c
@@ -249,6 +249,7 @@ static void emit_bc_load_const_tok(emit_t *emit, mp_token_kind_t tok) {
case MP_TOKEN_KW_FALSE: emit_write_byte_1(emit, MP_BC_LOAD_CONST_FALSE); break;
case MP_TOKEN_KW_NONE: emit_write_byte_1(emit, MP_BC_LOAD_CONST_NONE); break;
case MP_TOKEN_KW_TRUE: emit_write_byte_1(emit, MP_BC_LOAD_CONST_TRUE); break;
+ case MP_TOKEN_ELLIPSIS: emit_write_byte_1(emit, MP_BC_LOAD_CONST_ELLIPSIS); break;
default: assert(0);
}
}