]> Cypherpunks repositories - gostls13.git/commit
- implemented heuristic for composite literals starting with a type name:
authorRobert Griesemer <gri@golang.org>
Fri, 10 Oct 2008 23:03:32 +0000 (16:03 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 10 Oct 2008 23:03:32 +0000 (16:03 -0700)
commit89319cfbf97066ebf985d9a1620d8402cf53a322
tree703f45af7fbdd72556e1f8bb82d123ead74ac252
parent827dcb86b78925997706f2c0cadaa30a9c087185
- implemented heuristic for composite literals starting with a type name:
  if in a if, for, or switch header, must be parenthesized
- implemented string concatenation
- simplified a lot of code
- added many more tests: can now parse all *.go files I got my hands on
- printing output currently broken in some cases, use with -s (silent) option

R=r
OCL=16932
CL=16934
usr/gri/pretty/Makefile
usr/gri/pretty/parser.go
usr/gri/pretty/scanner.go