summaryrefslogtreecommitdiffstatshomepage
path: root/py/emitbc.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-04 18:44:46 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-04 18:44:46 +0000
commite9906ac3d771a312b05d76e42aee8e806dd0d128 (patch)
tree95cd30d3a32e715fc2c9553ba1ccb1a72bf86dd8 /py/emitbc.c
parent4d4bc9533edf3f82c5d19b79be9891521b267837 (diff)
downloadmicropython-e9906ac3d771a312b05d76e42aee8e806dd0d128.tar.gz
micropython-e9906ac3d771a312b05d76e42aee8e806dd0d128.zip
Add ellipsis object.
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);
}
}