]> Cypherpunks repositories - gostls13.git/commit
compiler changes:
authorRuss Cox <rsc@golang.org>
Mon, 22 Sep 2008 19:45:01 +0000 (12:45 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 22 Sep 2008 19:45:01 +0000 (12:45 -0700)
commitfb2c66710cdf35120cdc35ea7ef01b5436f00b88
treef688fa871415e9f3d769b3604d7e7fbad34412d4
parent8231e94520e497ad8bba565f3c42b9749da5a644
compiler changes:
export.c:
- only expose explicitly exported types to importer
- fix behind your back
go.h:
- add deep() prototype (fixes 64-bit linux crash on time.go)
go.y:
- add a new syntax error case
walk.c:
- allow a,b = f() where f is func ptr (fixes bug088)

R=ken
OCL=15617
CL=15630
src/cmd/gc/export.c
src/cmd/gc/go.h
src/cmd/gc/go.y
src/cmd/gc/walk.c
test/fixedbugs/bug088.dir/bug0.go [moved from test/bugs/bug088.dir/bug0.go with 100% similarity]
test/fixedbugs/bug088.dir/bug1.go [moved from test/bugs/bug088.dir/bug1.go with 100% similarity]
test/fixedbugs/bug088.go [moved from test/bugs/bug088.go with 100% similarity]