]> Cypherpunks repositories - gostls13.git/commit
gofix: test import insertion, deletion
authorRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 21:04:07 +0000 (14:04 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 26 Oct 2011 21:04:07 +0000 (14:04 -0700)
commit6323a40f31adbb810f79bac557552f96240a5e1f
tree9bd37ed26872c79ce64eb7a488fefa64a703d22b
parent8fee9bc8c21090b70139216eefebe3bc3c3fa92c
gofix: test import insertion, deletion

Small change to go/ast, go/parser, go/printer so that
gofix can delete the blank line left from deleting an import.

R=golang-dev, bradfitz, adg
CC=golang-dev
https://golang.org/cl/5321046
src/cmd/gofix/fix.go
src/cmd/gofix/import_test.go [new file with mode: 0644]
src/pkg/go/ast/ast.go
src/pkg/go/parser/parser.go
src/pkg/go/printer/nodes.go