diff options
author | Robert Griesemer <gri@golang.org> | 2008-09-18 23:09:07 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2008-09-18 23:09:07 -0700 |
commit | 56250e6784166b83288f8727d66594a38e866491 (patch) | |
tree | 87ab1afbac81548cf30cfb1f8fc0d5b8915d4c70 /usr/gri/pretty/parser.go | |
parent | 1412a2aba7392f2d6c0f8a5ebf151c278dfc4377 (diff) | |
download | golang-56250e6784166b83288f8727d66594a38e866491.tar.gz |
- fixed old test cases with wrong syntax
- added more test cases to Makefile
- fixed another parser issue (possibly a 6g bug - to be tracked down)
R=r
OCL=15516
CL=15516
Diffstat (limited to 'usr/gri/pretty/parser.go')
-rw-r--r-- | usr/gri/pretty/parser.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/gri/pretty/parser.go b/usr/gri/pretty/parser.go index 130030365..d1a0b6230 100644 --- a/usr/gri/pretty/parser.go +++ b/usr/gri/pretty/parser.go @@ -453,7 +453,7 @@ func (P *Parser) TryType() bool { case Scanner.LBRACK: P.ParseArrayType(); case Scanner.CHAN, Scanner.ARROW: P.ParseChannelType(); case Scanner.INTERFACE: P.ParseInterfaceType(); - case Scanner.LPAREN: P.ParseFunctionType(); + case Scanner.LPAREN: P.ParseSignature(); case Scanner.MAP: P.ParseMapType(); case Scanner.STRUCT: P.ParseStructType(); case Scanner.MUL: P.ParsePointerType(); |