summaryrefslogtreecommitdiff
path: root/src/cmd/api
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
commit68ac475b3c32d6a9d8e212d00a8b3d5f319cfa25 (patch)
tree47ff4c8fba130d895a1ed154643e9c54c2b168e4 /src/cmd/api
parentb3f9302d4c3b4cacf14609d4657044328fb53fdf (diff)
downloadgo-68ac475b3c32d6a9d8e212d00a8b3d5f319cfa25.tar.gz
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://codereview.appspot.com/135940043
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 56ba74a50..65b9aaa09 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)