summaryrefslogtreecommitdiff
path: root/src/pkg/go/ast/ast.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-02-16 11:20:25 -0800
committerRobert Griesemer <gri@golang.org>2010-02-16 11:20:25 -0800
commitf96c03e483aca8036176d436669ea99d25386e4a (patch)
treecbda34f8ea42e33056fef6dd843120092cf501fe /src/pkg/go/ast/ast.go
parent4d5e60f1878767d9f8df494365c034f901a694e3 (diff)
downloadgolang-f96c03e483aca8036176d436669ea99d25386e4a.tar.gz
remove assumption that all files belonging to a package are in the same directory:
- adjust ast.Package node and doc.PackageDoc correspondingly - introduce parser.ParseFiles R=rsc CC=golang-dev http://codereview.appspot.com/207087
Diffstat (limited to 'src/pkg/go/ast/ast.go')
-rw-r--r--src/pkg/go/ast/ast.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/go/ast/ast.go b/src/pkg/go/ast/ast.go
index ed87039a7..95700cb14 100644
--- a/src/pkg/go/ast/ast.go
+++ b/src/pkg/go/ast/ast.go
@@ -722,7 +722,6 @@ type File struct {
//
type Package struct {
Name string // package name
- Path string // package path
Scope *Scope // package scope
- Files map[string]*File // path-relative filenames
+ Files map[string]*File // Go source files by filename
}