go/printer, gofmt: don't write too many newlines
In some rare cases, gofmt would accept more than the maximum number of empty lines (1) between source code snippets. The actual change is in printer.go, lines 773-775; the rest is some minor restructuring. Applied gofmt -w src misc . Fixes #2387. R=golang-dev, r CC=golang-dev https://golang.org/cl/5496047
Showing
Please register or sign in to comment