]> Cypherpunks repositories - gostls13.git/commit
go/parser: cleanups following CL 7307085
authorRobert Griesemer <gri@golang.org>
Thu, 14 Feb 2013 21:36:40 +0000 (13:36 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 14 Feb 2013 21:36:40 +0000 (13:36 -0800)
commit5b1885c241172fc1f89221b1a83789032c13cf5a
treea783d99a59eef798a9c5e2012a63b10ea18234e1
parent8e2b0e1cb85bc95115c4d6a5c3bf7a5917dc78b1
go/parser: cleanups following CL 7307085

- use the new AllErrors flag where appropriate
- unless AllErrors is set, eliminate spurious
  errors before they are added to the errors list
  (it turns out that reporting spurious errors always
  leads to too many uninformative errors after all)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7323065
src/cmd/gofmt/gofmt.go
src/pkg/exp/gotype/gotype.go
src/pkg/go/parser/error_test.go
src/pkg/go/parser/interface.go
src/pkg/go/parser/parser.go
src/pkg/go/types/check_test.go