]> Cypherpunks repositories - gostls13.git/commit
go/ast: streamline representation of field lists
authorRobert Griesemer <gri@golang.org>
Thu, 25 Feb 2010 00:17:11 +0000 (16:17 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 25 Feb 2010 00:17:11 +0000 (16:17 -0800)
commitef0be41e20c2c728e640fe33090f08d5349c5a5e
tree451e2ca9cc08e7252441c36259f78830c5abe971
parent78961ed961f372c2852f9ea59ee6a201e966dcc8
go/ast: streamline representation of field lists
- always include position information about opening/closing parens/braces
- replace uses of []*ast.Field with *ast.FieldList

Fixes #473.

R=rsc
CC=golang-dev
https://golang.org/cl/223043
src/cmd/cgo/ast.go
src/cmd/cgo/gcc.go
src/pkg/exp/eval/typec.go
src/pkg/go/ast/ast.go
src/pkg/go/ast/filter.go
src/pkg/go/ast/walk.go
src/pkg/go/doc/doc.go
src/pkg/go/parser/parser.go
src/pkg/go/printer/nodes.go
src/pkg/go/printer/testdata/comments.golden
src/pkg/go/printer/testdata/comments.input