diff options
Diffstat (limited to 'windows/main.c')
-rw-r--r-- | windows/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/windows/main.c b/windows/main.c index 59174d73df..98d293161a 100644 --- a/windows/main.c +++ b/windows/main.c @@ -59,7 +59,7 @@ static void execute_from_lexer(mp_lexer_t *lex, mp_parse_input_kind_t input_kind printf("----------------\n"); */ - mp_obj_t module_fun = mp_compile(pn, source_name, is_repl); + mp_obj_t module_fun = mp_compile(pn, source_name, MP_EMIT_OPT_NONE, is_repl); if (module_fun == mp_const_none) { // compile error @@ -230,9 +230,3 @@ int main(int argc, char **argv) { //printf("total bytes = %d\n", m_get_total_bytes_allocated()); return 0; } - -// for sqrt -#include <math.h> -machine_float_t machine_sqrt(machine_float_t x) { - return sqrt(x); -} |