summaryrefslogtreecommitdiffstatshomepage
path: root/py/builtinevex.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-06 11:48:15 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-06 11:48:15 +0100
commit65cad12d388423f7d9b04a5ae3d7c1b5b176a2da (patch)
treef88eeb76a6ccb42931ab7b887507e41c695887e3 /py/builtinevex.c
parentdeed087e2c083821f22a849fdb4de62004bd010f (diff)
downloadmicropython-65cad12d388423f7d9b04a5ae3d7c1b5b176a2da.tar.gz
micropython-65cad12d388423f7d9b04a5ae3d7c1b5b176a2da.zip
py: Add option to compiler to specify default code emitter.
Also add command line option to unix port to select emitter.
Diffstat (limited to 'py/builtinevex.c')
-rw-r--r--py/builtinevex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtinevex.c b/py/builtinevex.c
index 0a928199f0..fc3a60182e 100644
--- a/py/builtinevex.c
+++ b/py/builtinevex.c
@@ -33,7 +33,7 @@ STATIC mp_obj_t parse_compile_execute(mp_obj_t o_in, mp_parse_input_kind_t parse
}
// compile the string
- mp_obj_t module_fun = mp_compile(pn, source_name, false);
+ mp_obj_t module_fun = mp_compile(pn, source_name, MP_EMIT_OPT_NONE, false);
mp_parse_node_free(pn);
if (module_fun == mp_const_none) {