Skip to content

Commit ab1f031

Browse files
authored
Merge pull request #148 from SummerLife/open_source_line
[update] enable the source line option when print an exception with t…
2 parents 701e8b3 + 6c6ea57 commit ab1f031

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#define MICROPY_KBD_EXCEPTION (1)
6666
#define MICROPY_HELPER_REPL (1)
6767
#define MICROPY_HELPER_LEXER_UNIX (0)
68-
#define MICROPY_ENABLE_SOURCE_LINE (0)
68+
#define MICROPY_ENABLE_SOURCE_LINE (1)
6969
#define MICROPY_ENABLE_DOC_STRING (0)
7070
#define MICROPY_ENABLE_SCHEDULER (1)
7171
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)

0 commit comments

Comments
 (0)