diff options
| -rw-r--r-- | unix/main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/main.c b/unix/main.c index 86d7e9eb4..bb65e67c8 100644 --- a/unix/main.c +++ b/unix/main.c @@ -193,7 +193,7 @@ STATIC int do_file(const char *file) {  STATIC int do_str(const char *str) {      mp_lexer_t *lex = mp_lexer_new_from_str_len(MP_QSTR__lt_stdin_gt_, str, strlen(str), false); -    return execute_from_lexer(lex, MP_PARSE_SINGLE_INPUT, false); +    return execute_from_lexer(lex, MP_PARSE_FILE_INPUT, false);  }  int usage(char **argv) {  | 
