]> Cypherpunks repositories - gostls13.git/commit
go/printer, gofmt: don't indent line directives
authorRobert Griesemer <gri@golang.org>
Mon, 13 Feb 2012 19:50:53 +0000 (11:50 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 13 Feb 2012 19:50:53 +0000 (11:50 -0800)
commit28ffb38f4a55759664b240843af00e6d88b72128
treeaf2f8e5fb06cafb9c592a63c85fac3fcbee4a83d
parentc11361e2536fad07bbeb78e19d4283a07fbc02da
go/printer, gofmt: don't indent line directives

This was broken by https://golang.org/cl/5643066
which introduced lazy indentation printing.

Fixes #2990.

R=rsc
CC=golang-dev
https://golang.org/cl/5655067
src/pkg/go/printer/printer.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.input