]> Cypherpunks repositories - gostls13.git/commit
go/format, cmd/gofmt: added missing comments, minor internal cleanup
authorRobert Griesemer <gri@golang.org>
Tue, 30 Sep 2014 19:26:38 +0000 (12:26 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 30 Sep 2014 19:26:38 +0000 (12:26 -0700)
commit146713b67ac6628350abd74f76fd2955de66b3c6
treec6a82a1369a41a49c800692558cb155b80900b39
parent4a532c664df5d0c6edd4955a80006490827179d7
go/format, cmd/gofmt: added missing comments, minor internal cleanup

This is a minor cleanup following CL 142360043:

The internal parse and format functions in both packages
were almost identical - made them identical by adding an
extra parameter, and documented them as identical.

Eventually we should find a nice way to factor these functions
out, but we cannot do this now while in prep for 1.4.

No functionality change.

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/146520043
src/cmd/gofmt/gofmt.go
src/go/format/format.go