]> Cypherpunks repositories - gostls13.git/commit
fmt.Fscan: use UnreadRune to preserve data across calls.
authorRob Pike <r@golang.org>
Tue, 14 Sep 2010 01:06:17 +0000 (11:06 +1000)
committerRob Pike <r@golang.org>
Tue, 14 Sep 2010 01:06:17 +0000 (11:06 +1000)
commit6ee7997366ef4c1f666790d65b039e76407327f3
tree4ac57bec1e84dd771a10e7f080227ba35761cc21
parent23bd214aeeb660f26642cc81153edfa87683a289
fmt.Fscan: use UnreadRune to preserve data across calls.
Fixes #1055.
(About as well as it can be fixed without changing the API.)

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