mirror of
https://github.com/golang/go
synced 2024-11-18 06:14:46 -07:00
5a1d3323fe
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r https://golang.org/cl/180047 |
||
---|---|---|
.. | ||
chain.go | ||
fib.go | ||
file.go | ||
golden.out | ||
hello.go | ||
Makefile | ||
test.bash |