]> Cypherpunks repositories - gostls13.git/commit
go/ast: don't remove function bodies when filtering exports
authorRobert Griesemer <gri@golang.org>
Thu, 6 Oct 2011 23:07:56 +0000 (16:07 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 6 Oct 2011 23:07:56 +0000 (16:07 -0700)
commit3e4669995888bcea2d45e847ec896742d4532b6c
tree487f8613fb599902e69ab11ddb7847238946cc68
parenta64b2699c4b9a5bbf73bade7cdc89aca6de57f55
go/ast: don't remove function bodies when filtering exports

This is a semantic but no API change. It is a cleaner
implementation of pure filtering. Applications that
need function bodies stripped can easily do this them-
selves.

R=rsc
CC=golang-dev
https://golang.org/cl/5206046
src/pkg/go/ast/filter.go