mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-24 07:15:21 +00:00
Fix #4537
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user