diff options
author | Damien George <damien.p.george@gmail.com> | 2020-05-30 07:34:40 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-06-02 15:43:44 +1000 |
commit | b2030e1661ccf58cb0f62cba0c2009f97ebbf455 (patch) | |
tree | 31851811ecc1be7f287b26290b60cee6c5944719 /lib/utils/pyexec.c | |
parent | 203b10703e5df20939b88a2ce29bb961cce7e4b6 (diff) |
lib/utils/pyexec: Add missing MP_ERROR_TEXT when compiler disabled.
Diffstat (limited to 'lib/utils/pyexec.c')
-rw-r--r-- | lib/utils/pyexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/pyexec.c b/lib/utils/pyexec.c index ec20daff4..2c8ca2de0 100644 --- a/lib/utils/pyexec.c +++ b/lib/utils/pyexec.c @@ -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 } |