Add Error member to yyLexer type (yyError
has no access to yylex)

R=ken2, ken3
CC=golang-dev
https://golang.org/cl/813047
diff --git a/src/cmd/goyacc/doc.go b/src/cmd/goyacc/doc.go
index eea70ad..686f757 100644
--- a/src/cmd/goyacc/doc.go
+++ b/src/cmd/goyacc/doc.go
@@ -24,10 +24,12 @@
 
 	type yyLexer interface {
 		Lex(lval *yySymType) int
+		Error(e string)
 	}
 
 Lex should return the token identifier, and place other token
 information in lval (which replaces the usual yylval).
+Error is equivalent to yyerror in the original yacc.
 
 Code inside the parser may refer to the variable yylex
 which holds the yyLexer passed to Parse.