From: Dmitriy Vyukov Date: Thu, 21 Aug 2014 07:43:58 +0000 (+0400) Subject: cmd/api: add missing runtime struct X-Git-Tag: go1.4beta1~774 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e249b0ffeeb36957adfde2b3ec3ab0eabea8e3ba;p=gostls13.git cmd/api: add missing runtime struct Fixes build. TBR=khr R=golang-codereviews CC=golang-codereviews, khr https://golang.org/cl/130390044 --- diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index e0d17c9564..5933f32563 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)