diff options
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/main.c b/unix/main.c index 681bf2aa20..212bbe877e 100644 --- a/unix/main.c +++ b/unix/main.c @@ -138,7 +138,7 @@ static void do_repl(void) { } } - mp_lexer_t *lex = mp_lexer_new_from_str_len("<stdin>", line, strlen(line), false); + mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, line, strlen(line), false); execute_from_lexer(lex, MP_PARSE_SINGLE_INPUT, true); free(line); } @@ -162,7 +162,7 @@ static void do_file(const char *file) { } static void do_str(const char *str) { - mp_lexer_t *lex = mp_lexer_new_from_str_len("<stdin>", str, strlen(str), false); + mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, str, strlen(str), false); execute_from_lexer(lex, MP_PARSE_SINGLE_INPUT, false); } |