diff --git a/src/cmd/yacc/doc.go b/src/cmd/yacc/doc.go index 7839dcfa9c..328d87b9da 100644 --- a/src/cmd/yacc/doc.go +++ b/src/cmd/yacc/doc.go @@ -20,7 +20,7 @@ written in C and documented at Adepts of the original yacc will have no trouble adapting to this form of the tool. -The directory $GOROOT/cmd/yacc/testdata/expr is a yacc program +The directory $GOROOT/src/cmd/yacc/testdata/expr is a yacc program for a very simple expression parser. See expr.y and main.go in that directory for examples of how to write and build yacc programs.