1
0
mirror of https://github.com/golang/go synced 2024-10-04 04:31:21 -06:00
go/src/cmd/gofmt
Robert Griesemer 74cb963225 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
2012-01-12 16:04:48 -08:00
..
testdata gofmt: handle &T in composite literal simplify 2011-12-02 14:14:04 -05:00
doc.go gofmt: simplify flags 2011-12-13 14:03:25 -08:00
gofmt_test.go gofmt: leave nil nodes of the AST unchanged. 2011-11-11 14:11:30 -08:00
gofmt.go gofmt: simplify flags 2011-12-13 14:03:25 -08:00
Makefile fix build: disable gofmt test script, enable gotest testing instead 2011-04-13 14:24:38 -07:00
rewrite.go go/parser: Remove unused Parse* functions. Simplified ParseExpr signature. 2012-01-12 16:04:48 -08:00
simplify.go gofmt: handle &T in composite literal simplify 2011-12-02 14:14:04 -05:00
test.sh gofmt: do not stop test.sh after 1 error 2011-11-16 18:44:21 -05:00