]> Cypherpunks repositories - gostls13.git/commit
go/printer, gofmt: correct indentation after certain /*-style comments
authorRobert Griesemer <gri@golang.org>
Thu, 25 Feb 2010 21:47:16 +0000 (13:47 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 25 Feb 2010 21:47:16 +0000 (13:47 -0800)
commitdbe0b5701205da0c5d9b1cc4270de9448bdd6035
tree97923dfcab1cfe2dd391948e5f1756e28d560bfd
parente0d5177dd7085c390bcf90866eed96bbd58b73cc
go/printer, gofmt: correct indentation after certain /*-style comments
- applied gofmt to src and misc

Note: This fix improved formatting of src/pkg/math/all_test.go but leads
to a degradation in src/pkg/exp/4s/xs.go. The latter happened to "work"
before accidentally. Fixing the alignment in that case in general will
be a separate CL.

Fixes #628.

R=rsc
CC=golang-dev
https://golang.org/cl/223054
src/pkg/exp/4s/xs.go
src/pkg/go/printer/printer.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.input
src/pkg/math/all_test.go