summaryrefslogtreecommitdiff
path: root/src/cmd/api/goapi.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2014-08-24 12:31:03 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-24 12:31:03 +0400
commit9a1e142bbc3209f8899a729ec857a1c8838bf9f4 (patch)
treed490b16e05e6d80d05d295d4379f944fbf7317a9 /src/cmd/api/goapi.go
parent7f223e3b3ba732c287db5a57b5091784baa9b86f (diff)
downloadgo-git-9a1e142bbc3209f8899a729ec857a1c8838bf9f4.tar.gz
runtime: convert channel operations to Go, part 1 (chansend1).
LGTM=dvyukov R=dvyukov, khr CC=golang-codereviews https://golang.org/cl/127460044
Diffstat (limited to 'src/cmd/api/goapi.go')
-rw-r--r--src/cmd/api/goapi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go
index 7117254e53..2900a27ceb 100644
--- a/src/cmd/api/goapi.go
+++ b/src/cmd/api/goapi.go
@@ -383,6 +383,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) {
" mspan struct{}; m struct{}; lock struct{}; slicetype struct{};" +
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};" +
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};" +
+ " hchan struct{}; chantype struct{}; waitq struct{};" +
" note struct{};" +
")"
f, err = parser.ParseFile(fset, filename, src, 0)