]> Cypherpunks repositories - gostls13.git/commit
- don't loose extra line breaks in struct/interface declarations
authorRobert Griesemer <gri@golang.org>
Tue, 3 Nov 2009 21:40:11 +0000 (13:40 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 3 Nov 2009 21:40:11 +0000 (13:40 -0800)
commit38512d090c2e637945f0da875b8aa4e79ef01db4
treea3b0fea36ba621dc05b889f41daab71cb33ae3fc
parent4f2ec03416b9188244a2b36900cea49a93d0de8d
- don't loose extra line breaks in struct/interface declarations
- start new sections if a field/method declaration spans multiple lines;
  this avoids tabs from the previous line affecting the next field/method

R=rsc
http://go/go-review/1017015
src/pkg/go/ast/ast.go
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/declarations.go
src/pkg/go/printer/testdata/declarations.golden