Merging upstream version 23.16.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d0f42f708a
commit
213191b8e3
93 changed files with 64106 additions and 59061 deletions
|
@ -483,6 +483,9 @@ impl<'a> TokenizerState<'a> {
|
|||
if self.peek_char.is_digit(10) {
|
||||
self.advance(1)?;
|
||||
} else if self.peek_char == '.' && !decimal {
|
||||
if self.tokens.last().map(|t| t.token_type) == Some(self.token_types.parameter) {
|
||||
return self.add(self.token_types.number, None);
|
||||
}
|
||||
decimal = true;
|
||||
self.advance(1)?;
|
||||
} else if (self.peek_char == '-' || self.peek_char == '+') && scientific == 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue