]> Cypherpunks repositories - gostls13.git/commit
- fixed bug which prevented parser.go from compiling
authorRobert Griesemer <gri@golang.org>
Fri, 19 Sep 2008 05:53:54 +0000 (22:53 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 19 Sep 2008 05:53:54 +0000 (22:53 -0700)
commita1ee6804dd9282fa00bcbc9692a221d67ddbdafe
tree50e12a0298cdc67425534f71569255ef34e8c29a
parent81d7c5183722af90f66a989a68c617484eb1388f
- fixed bug which prevented parser.go from compiling
  (typo in ptr decl lead to an unresolved forward declaration)
- fixed parser bugs
- fixed Makefile
- now successfully parses most code

Issues:
- composite literals (cannot be identified easily from syntax alone)
- new(T, ...) (cannot be identified easily from syntax alone since
  new is not a keyword and thus could be a different function then
  the allocation function at which point "new((x + y))" is legal,
  but the inner "(x" looks like the beginning of a function type)

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