Fix #4537
This commit is contained in:
1 parent
e3b1646490
commit
d452d37b93
1 file changed
+1
@@ -259,6 +259,7 @@ get_token :: proc(t: ^Tokenizer) -> (token: Token, err: Error) {
|
|||||||
skip_digits(t)
|
skip_digits(t)
|
||||||
}
|
}
|
||||||
if t.r == 'e' || t.r == 'E' {
|
if t.r == 'e' || t.r == 'E' {
|
||||||
|
token.kind = .Float
|
||||||
switch r := next_rune(t); r {
|
switch r := next_rune(t); r {
|
||||||
case '+', '-':
|
case '+', '-':
|
||||||
next_rune(t)
|
next_rune(t)
|
||||||
|
|||||||
Reference in new issue
Block a user