don't need progress anymore

This commit is contained in:
Mark McGranaghan 2012-10-01 18:16:50 -07:00
parent 6be58e9f1d
commit 6b5aab351d

View File

@ -65,12 +65,6 @@ func whichLexer(path string) string {
return "" return ""
} }
func progress(msg string) {
if os.Getenv("DEBUG") != "1" {
fmt.Fprint(os.Stderr, msg)
}
}
func debug(msg string) { func debug(msg string) {
if os.Getenv("DEBUG") == "1" { if os.Getenv("DEBUG") == "1" {
fmt.Fprintln(os.Stderr, msg) fmt.Fprintln(os.Stderr, msg)
@ -105,8 +99,6 @@ func main() {
<tbody>`) <tbody>`)
for _, sourcePath := range os.Args[1:] { for _, sourcePath := range os.Args[1:] {
progress(".")
lexer := whichLexer(sourcePath) lexer := whichLexer(sourcePath)
lines := readLines(sourcePath) lines := readLines(sourcePath)