]> Cypherpunks repositories - gostls13.git/commit
- improved handling of white space around declarations and statements
authorRobert Griesemer <gri@golang.org>
Sat, 3 Oct 2009 05:24:05 +0000 (22:24 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 3 Oct 2009 05:24:05 +0000 (22:24 -0700)
commit4b3a13d37971fb07468383dc46c8947dda4aac41
treee7457392f974b4d5c2f5301dca690f2cb04a8cb0
parent17191281eb2aed43be91a2e01dfc02c8f746b740
- improved handling of white space around declarations and statements
- extra tests

R=rsc
DELTA=366  (264 added, 37 deleted, 65 changed)
OCL=35299
CL=35301
src/pkg/go/printer/printer.go
src/pkg/go/printer/printer_test.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.x
src/pkg/go/printer/testdata/declarations.go
src/pkg/go/printer/testdata/declarations.golden
src/pkg/go/printer/testdata/empty.go [new file with mode: 0644]
src/pkg/go/printer/testdata/empty.golden [new file with mode: 0644]
src/pkg/go/printer/testdata/expressions.golden
src/pkg/go/printer/testdata/statements.go
src/pkg/go/printer/testdata/statements.golden