Descriptiongo/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 issue 2387.
Patch Set 1 #Patch Set 2 : diff -r 6cfb9f2415fa https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6cfb9f2415fa https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 9ffee5b34ea0 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|