]> Cypherpunks repositories - gostls13.git/commit
fmt: return EOF when out of input in Scan*.
authorRob Pike <r@golang.org>
Thu, 2 Jun 2011 00:51:31 +0000 (10:51 +1000)
committerRob Pike <r@golang.org>
Thu, 2 Jun 2011 00:51:31 +0000 (10:51 +1000)
commit60dddc6db1e2796f6af1affbec0d9bbe22354be7
tree9ad04f29c8641df3ebfa7649bff5c3e061ee179f
parentbc3a72fa28d45f0dffbb89e6d07566c2b3997393
fmt: return EOF when out of input in Scan*.
Fixes #1840.

R=rsc
CC=golang-dev
https://golang.org/cl/4548077
src/pkg/fmt/scan.go
src/pkg/fmt/scan_test.go