lib/utils/pyexec: Add missing MP_ERROR_TEXT when compiler disabled.

pull/6093/head
Damien George 2020-05-30 07:34:40 +10:00
rodzic 203b10703e
commit b2030e1661
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -96,7 +96,7 @@ STATIC int parse_compile_execute(const void *source, mp_parse_input_kind_t input
mp_parse_tree_t parse_tree = mp_parse(lex, input_kind);
module_fun = mp_compile(&parse_tree, source_name, exec_flags & EXEC_FLAG_IS_REPL);
#else
mp_raise_msg(&mp_type_RuntimeError, "script compilation not supported");
mp_raise_msg(&mp_type_RuntimeError, MP_ERROR_TEXT("script compilation not supported"));
#endif
}