summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/main.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-10-06 09:35:45 +0200
committerOndřej Surý <ondrej@sury.org>2011-10-06 09:35:45 +0200
commit6c7ca6e4d4e26e4c8cbe0d183966011b3b088a0a (patch)
treefddeb87db026d64a1d8e597dd0c69d685f433597 /src/cmd/godoc/main.go
parent04f99b387021a8ce32a8795360cba9beaf986a81 (diff)
downloadgolang-6c7ca6e4d4e26e4c8cbe0d183966011b3b088a0a.tar.gz
Imported Upstream version 2011.09.21upstream-weekly/2011.09.21
Diffstat (limited to 'src/cmd/godoc/main.go')
-rw-r--r--src/cmd/godoc/main.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/godoc/main.go b/src/cmd/godoc/main.go
index 74d3111ff..15d70c49b 100644
--- a/src/cmd/godoc/main.go
+++ b/src/cmd/godoc/main.go
@@ -40,7 +40,7 @@ import (
"os"
"path"
"path/filepath"
- "regexp"
+ "exp/regexp"
"runtime"
"strings"
"time"
@@ -257,11 +257,6 @@ func main() {
readTemplates()
initHandlers()
- if (*indexEnabled || *writeIndex) && *indexFiles != "" && *maxResults > 0 {
- log.Println("warning: no support for full-text index yet (setting -maxresults to 0)")
- *maxResults = 0
- }
-
if *writeIndex {
// Write search index and exit.
if *indexFiles == "" {