]> Cypherpunks repositories - gostls13.git/commit
go/ast: reflect communication operator changes accurately in ast
authorRobert Griesemer <gri@golang.org>
Tue, 1 Feb 2011 21:47:51 +0000 (13:47 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 1 Feb 2011 21:47:51 +0000 (13:47 -0800)
commit288a39c86b9c90a5e323810f6b55877e08943de8
treeff20c51a4138d06ebc878bcc56981d6b17bf1fd1
parent7fc4e3785350b0d53112904c58b4384d65bce957
go/ast: reflect communication operator changes accurately in ast

- go/ast: introduce SendStmt; adjust SelectStmt
- go/parser: accept new communication syntax, minor
  unrelated cleanups
- go/printer: adjustments for new ast, fewer binary
  expression precedences
- go/token: remove one binary precedence

Adjusted dependent code. gofmt -w src -misc. Ran all tests.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/3989056
misc/cgo/stdio/chain.go
src/cmd/cgo/ast.go
src/pkg/go/ast/ast.go
src/pkg/go/ast/walk.go
src/pkg/go/parser/parser.go
src/pkg/go/parser/parser_test.go
src/pkg/go/printer/nodes.go
src/pkg/go/token/token.go
src/pkg/netchan/netchan_test.go