mirror of https://github.com/golang/go.git
godoc: remove TODO (bug257.go can now be indexed)
Pending CL 3752044. R=r, r2 CC=golang-dev https://golang.org/cl/3949042
This commit is contained in:
parent
8c6f997379
commit
7b4a4d3788
|
|
@ -666,12 +666,6 @@ func (x *Indexer) addFile(filename string) *ast.File {
|
||||||
|
|
||||||
|
|
||||||
func (x *Indexer) visitFile(dirname string, f *os.FileInfo) {
|
func (x *Indexer) visitFile(dirname string, f *os.FileInfo) {
|
||||||
// for now, exclude bug257.go as it causes problems with suffixarray
|
|
||||||
// TODO fix index/suffixarray
|
|
||||||
if f.Name == "bug257.go" {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if !isGoFile(f) {
|
if !isGoFile(f) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue