summaryrefslogtreecommitdiff
path: root/src/cmd/api
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-08-21 11:43:58 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-21 11:43:58 +0400
commitb090787b4e3913103ef4d2bddd18751c03c1f237 (patch)
tree47873619c6b1f489aec0c6ad1c5cae6d8f3d3448 /src/cmd/api
parent8d41bcd08e46ae9f611ca5d2010af6bb2cfcde52 (diff)
downloadgo-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
Diffstat (limited to 'src/cmd/api')
-rw-r--r--src/cmd/api/goapi.go2
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)