]> Cypherpunks repositories - gostls13.git/commit
go/printer, gofmt: use blank to separate import rename from import path
authorRobert Griesemer <gri@golang.org>
Fri, 8 Apr 2011 22:47:21 +0000 (15:47 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 8 Apr 2011 22:47:21 +0000 (15:47 -0700)
commitebaf01f0526f349dd207798dc5771219e9d8a8ca
tree96879d3e7b044236523513dff30502dd33f3612d
parent8fc67033914902065b6150fc6f0808b00dbe05b5
go/printer, gofmt: use blank to separate import rename from import path

Note that declarations.golden is not using spaces for alignment (so
that the alignment tabs are visible) which is why this change affects
the test cases significantly. gofmt uses spaces for alignment (by default)
and only tabs for indentation.

gofmt -w src misc (no changes)

Fixes #1673.

R=iant
CC=golang-dev
https://golang.org/cl/4388044
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/declarations.golden
src/pkg/go/printer/testdata/declarations.input