mirror of https://github.com/golang/go.git
The fields step and redoState of struct scanner are now defined as `func(s *scanner, c byte) int` instead of `func(s *scanner, c int) int`, since bytes are sufficient. Further changes improve the consistency in the scanner.go file. Change-Id: Ifb85f2130d728d2b936d79914d87a1f0b5c6ee7d Reviewed-on: https://go-review.googlesource.com/14801 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Andrew Gerrand <adg@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| testdata | ||
| bench_test.go | ||
| decode.go | ||
| decode_test.go | ||
| encode.go | ||
| encode_test.go | ||
| example_test.go | ||
| fold.go | ||
| fold_test.go | ||
| indent.go | ||
| scanner.go | ||
| scanner_test.go | ||
| stream.go | ||
| stream_test.go | ||
| tagkey_test.go | ||
| tags.go | ||
| tags_test.go | ||