]> Cypherpunks repositories - gostls13.git/commit
fmt.Scan: refactor the implementation so format-driven and normal scanning use the...
authorRob Pike <r@golang.org>
Mon, 31 May 2010 21:53:15 +0000 (14:53 -0700)
committerRob Pike <r@golang.org>
Mon, 31 May 2010 21:53:15 +0000 (14:53 -0700)
commit8af4acf59dadaaf6649413ebf45fe40d70e3f992
tree8caf96695afe72860dc8a19a9d3bd87367fe96b6
parente6600ea17d33fecd4e6cc26a97cdcc187ccbdb51
fmt.Scan: refactor the implementation so format-driven and normal scanning use the same function.
simplifies the code significantly.
Still TODO:
- proper format handling
- strings

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