Eat for comma.

This commit is contained in:
Dimitris Fasarakis Hilliard 2023-01-30 21:42:59 +02:00
parent 38cf933bcb
commit c9364718b4

View file

@ -1039,10 +1039,7 @@ where
} }
} }
',' => { ',' => {
let tok_start = self.get_pos(); self.eat_single_char(Tok::Comma);
self.next_char();
let tok_end = self.get_pos();
self.emit((tok_start, Tok::Comma, tok_end));
} }
'.' => { '.' => {
if let Some('0'..='9') = self.window[1] { if let Some('0'..='9') = self.window[1] {