mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-27 22:04:50 +00:00
Fix newline indentation
This commit is contained in:
parent
4170b22b7d
commit
8c81332205
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ where
|
|||
let mut seen_equal = false;
|
||||
while let Some(Ok((tok, _))) = self.underlying.peek() {
|
||||
match tok {
|
||||
Tok::Newline => break,
|
||||
Tok::Newline => break,
|
||||
Tok::Name { .. } |
|
||||
// We treat a soft keyword token following a type token as a
|
||||
// name to support cases like `type type = int` or `type match = int`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue