1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:57:58 -07:00
go/usr
Robert Griesemer cb67a8324b - fine-tuning of white space
- by default consider extra newlines in src for better formatting
- additional flags for control (-newlines, -maxnewlines, -optsemicolons)
- don't print ()'s around single anonymous result types

Status: Comparing the output of pretty with the input for larger files
shows mostly whitespace/formatting differences, which is what is desired.

TODO:
- Handling of overlong lines
- some esoteric cases which look funny

R=r
OCL=20293
CL=20293
2008-12-02 16:49:44 -08:00
..
gri - fine-tuning of white space 2008-12-02 16:49:44 -08:00
rsc/mem First pieces of malloc. 2008-11-17 12:32:35 -08:00