diff options
| author | Robert Griesemer <gri@golang.org> | 2009-12-15 15:33:31 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-12-15 15:33:31 -0800 |
| commit | d9527dd16f72598b54a64550607bf892efa12384 (patch) | |
| tree | 2ad16a7db2d3c484b47426ad2568359ab633820c /src/cmd/gc/runtime.go | |
| parent | aea97e0bd7da9cef1cc631ddbd3578a0877a4fcc (diff) | |
| download | golang-d9527dd16f72598b54a64550607bf892efa12384.tar.gz | |
1) Change default gofmt default settings for
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
http://codereview.appspot.com/180047
Diffstat (limited to 'src/cmd/gc/runtime.go')
| -rw-r--r-- | src/cmd/gc/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/runtime.go b/src/cmd/gc/runtime.go index baca93c8c..2e21d2511 100644 --- a/src/cmd/gc/runtime.go +++ b/src/cmd/gc/runtime.go @@ -84,7 +84,7 @@ func sliceslice1(old []any, lb int, width int) (ary []any) func sliceslice(old []any, lb int, hb int, width int) (ary []any) func slicearray(old *any, nel int, lb int, hb int, width int) (ary []any) -func closure() // has args, but compiler fills in +func closure() // has args, but compiler fills in // only used on 32-bit func int64div(int64, int64) int64 |
