]> Cypherpunks repositories - gostls13.git/commit
go/doc: better headscan
authorRobert Griesemer <gri@golang.org>
Thu, 1 Dec 2011 19:50:15 +0000 (11:50 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 1 Dec 2011 19:50:15 +0000 (11:50 -0800)
commitbc9ce6a129af4b99ec63810e61166e2b98285823
treee9e2a104f9825f125d8e2994383ccef7ee68befd
parent473de6035930f4014a07f5b2a1315993cb42fb27
go/doc: better headscan

- scan all comments not just the package documentation
- declutter output so that false positives are more easily spotted
- count the number of headings to quickly see differences
- minor tweaks

R=golang-dev, r, r
CC=golang-dev
https://golang.org/cl/5450061
src/pkg/go/doc/comment.go
src/pkg/go/doc/comment_test.go
src/pkg/go/doc/headscan.go