diff options
| author | Keith Randall <khr@golang.org> | 2014-09-05 10:04:16 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-09-05 10:04:16 -0400 |
| commit | 8217b4a203daaa7f24590f9369c77b758dad1cd6 (patch) | |
| tree | 218976e8656a7f05f539d42417060b5bde4082ee /src/cmd/api | |
| parent | e0f08b938a37490cd6e4f6bb33360678ac5f42b0 (diff) | |
| download | go-8217b4a203daaa7f24590f9369c77b758dad1cd6.tar.xz | |
runtime: convert panic/recover to Go
created panic1.go just so diffs were available.
After this CL is in, I'd like to move panic.go -> defer.go
and panic1.go -> panic.go.
LGTM=rsc
R=rsc, khr
CC=golang-codereviews
https://golang.org/cl/133530045
Diffstat (limited to 'src/cmd/api')
| -rw-r--r-- | src/cmd/api/goapi.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 18c36bb175..7e8f858483 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -381,6 +381,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) { src := "package runtime; type (" + " _defer struct{};" + " _func struct{};" + + " _panic struct{};" + " _select struct{}; " + " _type struct{};" + " alg struct{};" + |
