diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-04-20 15:44:41 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-04-20 15:44:41 +0200 |
commit | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (patch) | |
tree | 47af80be259cc7c45d0eaec7d42e61fa38c8e4fb /src/cmd/ebnflint/ebnflint.go | |
parent | c072558b90f1bbedc2022b0f30c8b1ac4712538e (diff) | |
download | golang-upstream/2011.03.07.1.tar.gz |
Imported Upstream version 2011.03.07.1upstream/2011.03.07.1
Diffstat (limited to 'src/cmd/ebnflint/ebnflint.go')
-rw-r--r-- | src/cmd/ebnflint/ebnflint.go | 4 |
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) } |