]> Cypherpunks repositories - gostls13.git/commit
go/ast: add Slice3 field to SliceExpr
authorRobert Griesemer <gri@golang.org>
Tue, 24 Sep 2013 23:35:35 +0000 (16:35 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 24 Sep 2013 23:35:35 +0000 (16:35 -0700)
commit20db0f428a28a529146b5016b97061f2b13c54d4
treeb28fb380cec8988ebb0148988a9540555c751d96
parentb0ef6aeff961053b4351cc103e3d4e4f72542e10
go/ast: add Slice3 field to SliceExpr

If Slice3 is set, the expression is
a 3-index slice expression (2 colons).
Required for type-checking.

Backward-compatible API extension.

R=r, rsc
CC=golang-dev
https://golang.org/cl/13826050
src/pkg/go/ast/ast.go
src/pkg/go/parser/parser.go