diff options
author | Robert Griesemer <gri@golang.org> | 2010-05-21 20:25:08 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-05-21 20:25:08 -0700 |
commit | fd788fc00892402cb2e18d0538384d9e824ce96c (patch) | |
tree | bd68819c41d00504b3c9e7df191087f99784ca00 /src/pkg/fmt | |
parent | 6099b783c558620ef2e2467f94b31134b0aa5717 (diff) | |
download | golang-fd788fc00892402cb2e18d0538384d9e824ce96c.tar.gz |
go/printer, gofmt: fix printing of labels,
apply gofmt to src, misc
Fixes issue 752.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1240044
Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/pkg/fmt')
-rw-r--r-- | src/pkg/fmt/print.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/fmt/print.go b/src/pkg/fmt/print.go index 15b7c5145..e4413efa4 100644 --- a/src/pkg/fmt/print.go +++ b/src/pkg/fmt/print.go @@ -795,7 +795,8 @@ func (p *pp) doprintf(format string, a []interface{}) { i++ // flags and widths p.fmt.clearflags() - F: for ; i < end; i++ { + F: + for ; i < end; i++ { switch format[i] { case '#': p.fmt.sharp = true |