kopia lustrzana https://github.com/micropython/micropython
lib/utils/pyexec: Fix bug with pyexec_file not setting flag for source.
rodzic
05fec17d9b
commit
3f7aa330fd
|
@ -495,7 +495,7 @@ friendly_repl_reset:
|
||||||
#endif // MICROPY_ENABLE_COMPILER
|
#endif // MICROPY_ENABLE_COMPILER
|
||||||
|
|
||||||
int pyexec_file(const char *filename) {
|
int pyexec_file(const char *filename) {
|
||||||
return parse_compile_execute(filename, MP_PARSE_FILE_INPUT, 0);
|
return parse_compile_execute(filename, MP_PARSE_FILE_INPUT, EXEC_FLAG_SOURCE_IS_FILENAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if MICROPY_MODULE_FROZEN
|
#if MICROPY_MODULE_FROZEN
|
||||||
|
|
Ładowanie…
Reference in New Issue