diff --git a/src/cmd/goyacc/units.y b/src/cmd/goyacc/units.y index 29446d15b78..9be7fa4ae57 100644 --- a/src/cmd/goyacc/units.y +++ b/src/cmd/goyacc/units.y @@ -389,7 +389,7 @@ rdigit(c int) bool { } func -Error(s string, v ...) { +Error(s string, v ...interface{}) { /* * hack to intercept message from yaccpar