Skip to content

Commit

Permalink
Fix dot case in IEDiv
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroper committed May 8, 2024
1 parent 4fe1ef5 commit d905281
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/parser/parser/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,11 @@ impl<'input> Tokenizer<'input> {

if !initial_dot && self.characters.peek_or_zero() == '.' {
self.characters.next();
/*
if !CharacterValidator::is_dec_digit(self.characters.peek_or_zero()) {
self.add_unexpected_error();
}
*/
while CharacterValidator::is_dec_digit(self.characters.peek_or_zero()) {
self.characters.next();
self.consume_underscore_followed_by_dec_digit();
Expand Down

0 comments on commit d905281

Please sign in to comment.