1
0
mirror of https://github.com/golang/go synced 2024-11-19 21:14:43 -07:00
go/misc
Robert Griesemer 47afa4dba5 go/printer: don't lose relevant parentheses when rewriting selector expressions
Also: Simplified handling of selector expressions. As a result, complicated
multi-line expressions containing selectors and calls/indices with arguments
broken accross lines don't get indented the same way as before, but the change
is minimal (see tests) and there's no such code in the std library. It seems
a worthwhile compromise given the much simpler code.

Applied gofmt -w $GOROOT/src $GOROOT/misc .

Fixes #1847.

R=rsc
CC=golang-dev
https://golang.org/cl/5675062
2012-02-15 12:25:37 -08:00
..
arm arm: add gdb support to android launcher script 2010-07-30 10:35:07 +03:00
bash misc/bash: add *.go completion for gofmt 2010-08-30 21:13:11 -04:00
bbedit misc/bbedit: error and rune support 2011-11-14 11:18:00 -08:00
cgo go: move compilers into the go-tool directory 2012-01-30 14:46:31 -08:00
chrome/gophertool gophertool: fix link to the build status dashboard 2012-02-01 20:53:31 -08:00
dashboard go/printer: don't lose relevant parentheses when rewriting selector expressions 2012-02-15 12:25:37 -08:00
dist misc/dist: add binary distribution packaging script for linux 2012-02-13 21:18:16 +11:00
emacs go-mode.el: fix syntax highlighting of backticks 2012-01-09 12:58:29 -05:00
fraise misc: update type + builtin lists found in editor support files 2011-01-19 23:07:49 -05:00
goplay misc/goplay: use go tool "run" 2012-02-06 12:10:49 -05:00
IntelliJIDEA misc: syntax highlighting support on IntelliJ IDEA 2011-05-20 11:03:33 -07:00
kate kate: add error and rune 2011-11-14 11:16:06 -08:00
notepadplus misc/notepadplus: error and rune support 2011-11-14 11:19:08 -08:00
osx misc/osx: update for dist tool, drop image.bash, update readme 2012-02-07 14:37:57 +11:00
swig various: use $GCFLAGS and $GCIMPORTS like Make does 2011-12-16 11:31:39 -05:00
vim vim: fix go filetype detection 2011-12-19 10:42:32 +11:00
windows misc/windows: add src/pkg/runtime/z* files to installation script 2011-12-26 20:25:31 +11:00
xcode misc/xcode/go.xclangspec: fix typo 2012-01-20 07:17:52 -08:00
zsh misc: add zsh completion (using compctl) 2010-08-30 21:13:01 -04:00
benchcmp misc/benchcmp: don't require "Benchmark" at beginning of line 2011-12-07 10:30:08 -08:00
pprof cmd/dist: exclude cov and prof from releases 2012-02-14 00:18:30 -05:00