1 parent 6279883 commit b325d25Copy full SHA for b325d25
1 file changed
py/lexer.c
@@ -702,6 +702,7 @@ STATIC void mp_lexer_next_token_into(mp_lexer_t *lex, mp_token_t *tok, bool firs
702
for (int i = 0; i < ARRAY_SIZE(tok_kw); i++) {
703
if (str_strn_equal(tok_kw[i], tok->str, tok->len)) {
704
if (i == ARRAY_SIZE(tok_kw) - 1) {
705
+ // tok_kw[ARRAY_SIZE(tok_kw) - 1] == "__debug__"
706
tok->kind = mp_debug_value;
707
} else {
708
tok->kind = MP_TOKEN_KW_FALSE + i;
0 commit comments