From: Russ Cox Date: Thu, 28 Aug 2014 15:51:09 +0000 (-0400) Subject: cmd/api: more runtime fixes X-Git-Tag: go1.4beta1~656 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e47854d996ffa42ab3dd50e8094b0b3f8b02bb4;p=gostls13.git cmd/api: more runtime fixes This is getting a little annoying, but once the runtime structs are being defined in Go, these will go away. So it's only a temporary cost. TBR=bradfitz CC=golang-codereviews https://golang.org/cl/135940043 --- diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 56ba74a506..65b9aaa094 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -385,7 +385,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { " mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" + " hchan struct{}; chantype struct{}; waitq struct{};" + " note struct{}; wincallbackcontext struct{};" + - " gobuf struct{}; funcval struct{};" + + " gobuf struct{}; funcval struct{}; _func struct{};" + "); " + "const ( cb_max = 2000 )" f, err = parser.ParseFile(fset, filename, src, 0)