diff --git a/src/go/parser/interface.go b/src/go/parser/interface.go index bff79cab46..724d8658a7 100644 --- a/src/go/parser/interface.go +++ b/src/go/parser/interface.go @@ -173,7 +173,7 @@ func ParseDir(fset *token.FileSet, path string, filter func(os.FileInfo) bool, m } // ParseExprFrom is a convenience function for parsing an expression. -// The arguments have the same meaning as for Parse, but the source must +// The arguments have the same meaning as for ParseFile, but the source must // be a valid Go (type or value) expression. Specifically, fset must not // be nil. //