Skip to content

Commit

Permalink
Fix compatibility tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack committed Oct 9, 2024
1 parent 47d3ca9 commit 4f310bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compat/src/lexer_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ fn matches_python_name_token(python_token_value: &str, token_kind: &Kind) -> boo
"while" => token_kind == &Kind::While,
"with" => token_kind == &Kind::With,
"yield" => token_kind == &Kind::Yield,
"match" => token_kind == &Kind::Match,
"type" => token_kind == &Kind::Type,
_ => token_kind == &Kind::Identifier,
}
}
Expand Down

0 comments on commit 4f310bc

Please sign in to comment.