]> Cypherpunks repositories - gostls13.git/commit
go/doc, godoc: when filtering for godoc, don't remove elements of a declaration
authorRobert Griesemer <gri@golang.org>
Thu, 12 May 2011 16:01:10 +0000 (09:01 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 12 May 2011 16:01:10 +0000 (09:01 -0700)
commit26bbb2b2f7aa12fb04b348d62924bb97dac64845
treea5654bfa7a3a296fc365640d1ab713ab3c962125
parent12c3afc1ae55dffbac2f9dc28d55c1f53ca4cf65
go/doc, godoc: when filtering for godoc, don't remove elements of a declaration

Partially revert CL 4518050. In go/doc.go, instead of calling the go/ast filter
functions, implement the corresponding match functions that do no remove
declaration elements.

Fixes #1803.

R=rsc
CC=golang-dev
https://golang.org/cl/4517055
src/pkg/go/doc/doc.go