]> Cypherpunks repositories - gostls13.git/commit
gofmt/go/parser: strengthen syntax checks
authorRobert Griesemer <gri@golang.org>
Thu, 5 Aug 2010 00:21:02 +0000 (17:21 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 5 Aug 2010 00:21:02 +0000 (17:21 -0700)
commit03f42934c126d732db2c1f22c2b53fe507f8b4d9
tree3fed6ae009b76de404af86269a670da2da3ced0c
parent12576f9e7052e278c2b6e415b97e9ef34da1e6a4
gofmt/go/parser: strengthen syntax checks

- don't allow parenthesized receiver base types or anonymous fields
- fixed a couple of other omissions
- adjusted gofmt test script
- removed several TODOs

R=rsc
CC=golang-dev
https://golang.org/cl/1897043
src/cmd/gofmt/test.sh
src/pkg/go/parser/parser.go