mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-09 22:25:23 +00:00
Eat for comma.
This commit is contained in:
parent
38cf933bcb
commit
c9364718b4
1 changed files with 8 additions and 11 deletions
|
@ -1039,10 +1039,7 @@ where
|
|||
}
|
||||
}
|
||||
',' => {
|
||||
let tok_start = self.get_pos();
|
||||
self.next_char();
|
||||
let tok_end = self.get_pos();
|
||||
self.emit((tok_start, Tok::Comma, tok_end));
|
||||
self.eat_single_char(Tok::Comma);
|
||||
}
|
||||
'.' => {
|
||||
if let Some('0'..='9') = self.window[1] {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue