summaryrefslogtreecommitdiffstatshomepage
path: root/py/vm.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/vm.c
parent4d4bc9533edf3f82c5d19b79be9891521b267837 (diff)
downloadmicropython-e9906ac3d771a312b05d76e42aee8e806dd0d128.tar.gz
micropython-e9906ac3d771a312b05d76e42aee8e806dd0d128.zip
Add ellipsis object.
Diffstat (limited to 'py/vm.c')
-rw-r--r--py/vm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/py/vm.c b/py/vm.c
index 382780640b..8e7ef7485b 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -99,6 +99,10 @@ bool mp_execute_byte_code_2(const byte **ip_in_out, mp_obj_t *fastn, mp_obj_t **
PUSH(mp_const_true);
break;
+ case MP_BC_LOAD_CONST_ELLIPSIS:
+ PUSH(mp_const_ellipsis);
+ break;
+
case MP_BC_LOAD_CONST_SMALL_INT:
unum = (ip[0] | (ip[1] << 8) | (ip[2] << 16)) - 0x800000;
ip += 3;