]> Cypherpunks repositories - gostls13.git/commit
ebnflint: better handling of stdin
authorRobert Griesemer <gri@golang.org>
Sat, 25 Jun 2011 00:29:19 +0000 (17:29 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 25 Jun 2011 00:29:19 +0000 (17:29 -0700)
commitf70e8ed0f3e9eec7d67c16b93e53919b21942ee5
tree34e6433aebb2fdcccce84fc1ac81e37fd617113b
parentd94e350f480fe72692148f07f959286435790704
ebnflint: better handling of stdin

- don't rely on /dev/stdin as the name for standard input
- employ EBNF extraction if the source contains tags

"cat source.html | ebnflint" works now

R=r
CC=golang-dev
https://golang.org/cl/4641075
src/cmd/ebnflint/ebnflint.go