diff options
Diffstat (limited to 'src/cmd/yacc/doc.go')
-rw-r--r-- | src/cmd/yacc/doc.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cmd/yacc/doc.go b/src/cmd/yacc/doc.go index 792c104e3..ceaaf2448 100644 --- a/src/cmd/yacc/doc.go +++ b/src/cmd/yacc/doc.go @@ -20,10 +20,8 @@ written in C and documented at Adepts of the original yacc will have no trouble adapting to this form of the tool. -The file units.y in this directory is a yacc grammar for a version of -the Unix tool units, also written in Go and largely transliterated -from the Plan 9 C version. It needs the flag "-p units_" (see -below). +The file expr.y in this directory is a yacc grammar for a very simple +expression parser. It needs the flag "-p expr" (see below). The generated parser is reentrant. Parse expects to be given an argument that conforms to the following interface: |