]> Cypherpunks repositories - gostls13.git/commit
go/parser: Better comment for ParseFile.
authorRobert Griesemer <gri@golang.org>
Tue, 7 Dec 2010 21:44:01 +0000 (13:44 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 7 Dec 2010 21:44:01 +0000 (13:44 -0800)
commitce89f213a822b7a6277282ae2feb9ce9dda96a1b
tree8f265a70d379565b00d4491421e549331d6646ab
parent1ce6245d6cc313daba1a4d7b5b349328e18bba6b
go/parser: Better comment for ParseFile.

The name ParseFile was kept as it indicates that
this function parses a Go 'SourceFile' per the
Go spec. Similarly, the other functions (ParseExpr,
ParseStmtList, ParseDeclList) parse the corresponding
constructs as defined in the Go spec.

Fixes #1311.

R=r, rsc
CC=golang-dev
https://golang.org/cl/3453042
src/pkg/go/parser/interface.go