• Robert Griesemer's avatar
    - fine-tuning of white space · cb67a832
    Robert Griesemer authored
    - 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
    cb67a832
selftest2.go 1.01 KB