aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-08-28 11:51:09 -0400
committerRuss Cox <rsc@golang.org>2014-08-28 11:51:09 -0400
commit1e47854d996ffa42ab3dd50e8094b0b3f8b02bb4 (patch)
tree2994bc10d97ffcc25cf60061628fe25766cb69ac /src/cmd
parent6fb6f4e7f9eea8b724ddde592686d7e9dcdaa41c (diff)
downloadgo-1e47854d996ffa42ab3dd50e8094b0b3f8b02bb4.tar.xz
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
Diffstat (limited to 'src/cmd')
-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 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)