Skip to content

Commit

Permalink
Fix #4537
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerBill committed Dec 5, 2024
1 parent e3b1646 commit d452d37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/encoding/json/tokenizer.odin
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ get_token :: proc(t: ^Tokenizer) -> (token: Token, err: Error) {
skip_digits(t)
}
if t.r == 'e' || t.r == 'E' {
token.kind = .Float
switch r := next_rune(t); r {
case '+', '-':
next_rune(t)
Expand Down

0 comments on commit d452d37

Please sign in to comment.