379
383
var ssFree = newCache(func() interface{} { return new(ss) })
382
386
func newScanState(r io.Reader, nlIsSpace, nlIsEnd bool) (s *ss, old ssave) {
383
387
// If the reader is a *ss, then we've got a recursive
384
388
// call to Scan, so re-use the scan state.