]> Cypherpunks repositories - gostls13.git/commit
- allow ()'s and {}'s for now when parsing calls/composite literals
authorRobert Griesemer <gri@golang.org>
Wed, 4 Mar 2009 00:00:06 +0000 (16:00 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 4 Mar 2009 00:00:06 +0000 (16:00 -0800)
commit63b332eddd383da8b9ea9ab68cbe179814d1ba6c
treeb3e0f33c6a5ebeb47d96527acc21839212ce9a4f
parent7a5e97ba915bddfcaf018280364b1690d4c88846
- allow ()'s and {}'s for now when parsing calls/composite literals
- require ()'s around composite literals at the if/for/switch control clause level
- fixed a nasty bug: passing a value instead of a pointer to a value to an interface
  variable - and not noticing that the value is copied

R=r
OCL=25649
CL=25649
usr/gri/pretty/ast.go
usr/gri/pretty/compilation.go
usr/gri/pretty/parser.go
usr/gri/pretty/platform.go
usr/gri/pretty/printer.go
usr/gri/pretty/scanner.go