]> Cypherpunks repositories - gostls13.git/commit
go/ast: correct end position for Index and TypeAssert expressions
authorRobert Griesemer <gri@golang.org>
Mon, 10 Jan 2011 19:26:04 +0000 (11:26 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 10 Jan 2011 19:26:04 +0000 (11:26 -0800)
commit23410ced69b90ded4aacde12e40c162c6568e8db
treeaff96d967dd207c95d1e35fd868d2a40543c6887
parent2b0a27612923b87309fc49ffde767ba99a9ba892
go/ast: correct end position for Index and TypeAssert expressions

- added position information for [ and ] brackets of Index and Slice expression nodes
- removed a TODO in go/printer

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