completed list-type to array-type conversion and fixed common test module

This commit is contained in:
2026-07-13 10:42:17 +02:00
parent 77f36642b4
commit 072fd9af39
39 changed files with 160 additions and 318 deletions
+6 -5
View File
@@ -522,11 +522,12 @@ func (scanner *Scanner) parseNumber(firstCh byte) (tk *Token) {
} else {
value, err = strconv.ParseInt(txt, numBase, 64)
}
if err == nil {
tk = scanner.MakeValueToken(sym, txt, value)
} else {
tk = scanner.makeErrorToken(err)
}
tk = scanner.MakeValueToken(sym, txt, value)
// if err == nil {
// tk = scanner.MakeValueToken(sym, txt, value)
// } else {
// tk = scanner.makeErrorToken(err)
// }
}
return
}