summaryrefslogtreecommitdiff
path: root/src/cmd/ebnflint/ebnflint.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/ebnflint/ebnflint.go')
-rw-r--r--src/cmd/ebnflint/ebnflint.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/ebnflint/ebnflint.go b/src/cmd/ebnflint/ebnflint.go
index 5eb398735..cac39179f 100644
--- a/src/cmd/ebnflint/ebnflint.go
+++ b/src/cmd/ebnflint/ebnflint.go
@@ -13,7 +13,7 @@ import (
"go/token"
"io/ioutil"
"os"
- "path"
+ "path/filepath"
)
@@ -91,7 +91,7 @@ func main() {
os.Exit(1)
}
- if path.Ext(filename) == ".html" {
+ if filepath.Ext(filename) == ".html" {
src = extractEBNF(src)
}