aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/yacc/testdata/expr/expr.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/yacc/testdata/expr/expr.y')
-rw-r--r--src/cmd/yacc/testdata/expr/expr.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/yacc/testdata/expr/expr.y b/src/cmd/yacc/testdata/expr/expr.y
index bb8e9bfd84..c39f9198cb 100644
--- a/src/cmd/yacc/testdata/expr/expr.y
+++ b/src/cmd/yacc/testdata/expr/expr.y
@@ -95,14 +95,14 @@ expr3:
// for clarity.
const eof = 0
-// The parser uses the type <prefix>Lex as a lexer. It must provide
+// The parser uses the type <prefix>Lex as a lexer. It must provide
// the methods Lex(*<prefix>SymType) int and Error(string).
type exprLex struct {
line []byte
peek rune
}
-// The parser calls this method to get each new token. This
+// The parser calls this method to get each new token. This
// implementation returns operators and NUM.
func (x *exprLex) Lex(yylval *exprSymType) int {
for {