]> Cypherpunks repositories - gostls13.git/commit
fmt: stop giving characters to the Scan method of Scanner
authorRob Pike <r@golang.org>
Thu, 24 Feb 2011 18:14:19 +0000 (10:14 -0800)
committerRob Pike <r@golang.org>
Thu, 24 Feb 2011 18:14:19 +0000 (10:14 -0800)
commit87fe958a493bd016519e88c8512f09d4cdd4da78
treea565eca11c7e0cc255a1972f1c06c8612cbed977
parent75fb2f6c828410e349dcef51b7b1506993ef9fb2
fmt: stop giving characters to the Scan method of Scanner
when we hit a newline during *scanln routines.

Fixes #1490.

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