cmd/goyacc: remove unused generated bindings
Found with honnef.co/go/tools/cmd/unused (in CockroachDB). Change-Id: I0e2f7ac6ad2a0fdc724928f316060f06c3261ece Reviewed-on: https://go-review.googlesource.com/38178 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
f2e43688df
commit
ab34c5f581
|
|
@ -2269,11 +2269,7 @@ func output() {
|
|||
|
||||
fmt.Fprintf(ftable, "}\n")
|
||||
ftable.WriteRune('\n')
|
||||
fmt.Fprintf(ftable, "const %sNprod = %v\n", prefix, nprod)
|
||||
fmt.Fprintf(ftable, "const %sPrivate = %v\n", prefix, PRIVATE)
|
||||
ftable.WriteRune('\n')
|
||||
fmt.Fprintf(ftable, "var %sTokenNames []string\n", prefix)
|
||||
fmt.Fprintf(ftable, "var %sStates []string\n", prefix)
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue