diff options
Diffstat (limited to 'py/lexerunix.c')
-rw-r--r-- | py/lexerunix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/lexerunix.c b/py/lexerunix.c index 7846120a4a..5d96c468f8 100644 --- a/py/lexerunix.c +++ b/py/lexerunix.c @@ -28,7 +28,7 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename) { return NULL; } - return mp_lexer_new_from_str_len(filename, data, size, size); + return mp_lexer_new_from_str_len(qstr_from_str(filename), data, size, size); } /******************************************************************************/ |