]> Cypherpunks repositories - gostls13.git/commit
go/parser: permit [...]T where array types are permitted
authorRobert Griesemer <gri@golang.org>
Thu, 29 Nov 2012 00:03:34 +0000 (16:03 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 29 Nov 2012 00:03:34 +0000 (16:03 -0800)
commit305d7ada2b94f4d61ed41727c82660795ac85698
tree02557109c9cca0f010e767bc2d6e38bdd360420a
parent5b6502356391a59441dee6056f92832295e66f65
go/parser: permit [...]T where array types are permitted

More lenient parsing with better error recovery.
It's easier for the type check to pick up the slack.

R=iant
CC=golang-dev
https://golang.org/cl/6856108
src/pkg/go/parser/parser.go