]> Cypherpunks repositories - gostls13.git/commit
fmt: normalize processing of format string
authorRob Pike <r@golang.org>
Wed, 5 Jan 2011 18:11:34 +0000 (10:11 -0800)
committerRob Pike <r@golang.org>
Wed, 5 Jan 2011 18:11:34 +0000 (10:11 -0800)
commitc0332fc93f36bfaf6a5fe681c73d743c36d9f301
tree7a21737ff2b794efca0cb48e68266f9183320afa
parentd71d08af5ab15c7b166d92a31219c4c218438841
fmt: normalize processing of format string
The old loop was a bit odd; change it to be more regular.
This also enables a diagnostic for Printf("%", 3): %!(NOVERB)

R=rsc, Kyle C
CC=golang-dev
https://golang.org/cl/3749044
src/pkg/fmt/fmt_test.go
src/pkg/fmt/print.go