diff options
author | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-21 11:43:58 +0400 |
---|---|---|
committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-08-21 11:43:58 +0400 |
commit | b090787b4e3913103ef4d2bddd18751c03c1f237 (patch) | |
tree | 47873619c6b1f489aec0c6ad1c5cae6d8f3d3448 | |
parent | 8d41bcd08e46ae9f611ca5d2010af6bb2cfcde52 (diff) | |
download | go-b090787b4e3913103ef4d2bddd18751c03c1f237.tar.gz |
cmd/api: add missing runtime struct
Fixes build.
TBR=khr
R=golang-codereviews
CC=golang-codereviews, khr
https://codereview.appspot.com/130390044
-rw-r--r-- | src/cmd/api/goapi.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index e0d17c956..5933f3256 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -381,7 +381,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { src := "package runtime; type maptype struct{}; type _type struct{}; type alg struct{};" + " type mspan struct{}; type m struct{}; type lock struct{}; type slicetype struct{};" + " type iface struct{}; type eface struct{}; type interfacetype struct{}; type itab struct{};" + - " type mcache struct{}" + " type mcache struct{}; type bucket struct{}" f, err = parser.ParseFile(fset, filename, src, 0) if err != nil { log.Fatalf("incorrect generated file: %s", err) |