1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00

string any

This commit is contained in:
Tao Wen
2017-01-23 08:33:43 +08:00
parent d49ea1bc49
commit b9fe012eea
7 changed files with 206 additions and 18 deletions

View File

@ -160,7 +160,9 @@ func (iter *Iterator) nextToken() byte {
func (iter *Iterator) reportError(operation string, msg string) {
if iter.Error != nil {
return
if iter.Error != io.EOF {
return
}
}
peekStart := iter.head - 10
if peekStart < 0 {