diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-06 11:48:15 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-06 11:48:15 +0100 |
commit | 65cad12d388423f7d9b04a5ae3d7c1b5b176a2da (patch) | |
tree | f88eeb76a6ccb42931ab7b887507e41c695887e3 /py/builtinimport.c | |
parent | deed087e2c083821f22a849fdb4de62004bd010f (diff) |
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/builtinimport.c')
-rw-r--r-- | py/builtinimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/builtinimport.c b/py/builtinimport.c index e2137237f..a3ab3c9ed 100644 --- a/py/builtinimport.c +++ b/py/builtinimport.c @@ -103,7 +103,7 @@ void do_load(mp_obj_t module_obj, vstr_t *file) { } // compile the imported script - 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) { |