auto adjust code

This commit is contained in:
Christopher Homberger
2026-02-22 20:58:46 +01:00
parent 949a40c7a5
commit d187ac2fc1
86 changed files with 617 additions and 617 deletions

View File

@@ -51,7 +51,7 @@ const (
type Token struct {
Kind TokenKind
Raw string
Value interface{}
Value any
Index int
}
@@ -256,7 +256,7 @@ func (l *Lexer) readNumber() *Token {
}
}
// Try to parse as float64
var val interface{} = raw
var val any = raw
if f, err := strconv.ParseFloat(raw, 64); err == nil {
val = f
}