1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:31:21 -06:00
go/src/pkg/fmt
Rob Pike c0332fc93f 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
2011-01-05 10:11:34 -08:00
..
doc.go fmt: add %U format for standard Unicode representation of integer values. 2010-12-06 14:23:37 -05:00
fmt_test.go fmt: normalize processing of format string 2011-01-05 10:11:34 -08:00
format.go fmt: add %U format for standard Unicode representation of integer values. 2010-12-06 14:23:37 -05:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
print.go fmt: normalize processing of format string 2011-01-05 10:11:34 -08:00
scan_test.go throughout: fix broken calls to Printf etc. 2010-12-07 16:42:54 -05:00
scan.go fmt: add %U format for standard Unicode representation of integer values. 2010-12-06 14:23:37 -05:00
stringer_test.go fmt.Print*: reimplement to switch on type first. 2010-06-14 17:16:35 -07:00