]> Cypherpunks repositories - gostls13.git/commit
more comment formatting:
authorRobert Griesemer <gri@golang.org>
Thu, 5 Nov 2009 06:07:13 +0000 (22:07 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 5 Nov 2009 06:07:13 +0000 (22:07 -0800)
commit1fede304ff60d6d987a6249cd61d1e13a7ae2054
tree36c4ccad8a2cc0e26a6c875544320ea4ead93ffc
parent7f534246c6960a4918e69e3c79ad5125a6b4bb6b
more comment formatting:
- preserve (some) indentation of comment text for /*-style comments
  even if the first comment line does not contain any text that might
  suggest the "correct" indentation
- enabled because otherwise existing larger comments get re-formatted
  (this will not introduce a lot of changes since comments of this
  kind - until now - were not changed with respect to indentation)

R=rsc
http://go/go-review/1016047
src/pkg/go/printer/printer.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.input