]> Cypherpunks repositories - gostls13.git/commit
go/parser: Remove unused Parse* functions. Simplified ParseExpr signature.
authorRobert Griesemer <gri@golang.org>
Fri, 13 Jan 2012 00:04:48 +0000 (16:04 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 13 Jan 2012 00:04:48 +0000 (16:04 -0800)
commit74cb96322502ab686be92ce7bd07464a62afb011
tree5f7ccc940caaa8adc6a5fc49eea7a2a0ce786366
parent06479f766c4ae16e918701839bec0776ed52ec67
go/parser: Remove unused Parse* functions. Simplified ParseExpr signature.

Only ParseFile, ParseDir, and ParseExpr are used in the tree.
If partial parsing of code is required, it is fairly simple
to wrap the relevant piece of code into a dummy package for
parsing (see parser.ParseExpr).

Also: minor cleanups.

R=rsc
CC=golang-dev
https://golang.org/cl/5535055
src/cmd/cgo/gcc.go
src/cmd/gofix/fix.go
src/cmd/gofmt/rewrite.go
src/pkg/go/parser/interface.go
src/pkg/go/parser/parser.go
src/pkg/go/parser/parser_test.go