1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-24 08:22:14 +02:00

Merge pull request #42 from 1046102779/patch-1

把floatDigits改为intDigits
This commit is contained in:
Tao Wen 2017-06-06 10:02:26 -05:00 committed by GitHub
commit 579dbf3c1d

View File

@ -17,7 +17,7 @@ const uint8Max = uint32(0xffff)
func init() {
intDigits = make([]int8, 256)
for i := 0; i < len(floatDigits); i++ {
for i := 0; i < len(intDigits); i++ {
intDigits[i] = invalidCharForNumber
}
for i := int8('0'); i <= int8('9'); i++ {