Skip to content

Commit

Permalink
Ellipsis after match classifies as keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila committed May 21, 2024
1 parent c60e5f8 commit 642036a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/ruff_python_parser/src/parser/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3524,6 +3524,7 @@ impl<'src> Parser<'src> {
| TokenKind::FStringStart
| TokenKind::Lbrace
| TokenKind::Tilde
| TokenKind::Ellipsis
| TokenKind::Await
| TokenKind::Yield
| TokenKind::Lambda => MatchTokenKind::Keyword,
Expand Down

0 comments on commit 642036a

Please sign in to comment.