go/src
Robert Griesemer e1d6b3c98d go/ast: fix ast.Walk
- change Walk signature to use an ast.Node instead of interface{}
- add Pos functions to a couple of ast types to make them proper nodes
- explicit nil checks where a node can be nil; incorrect ASTs cause Walk to crash

For now ast.Walk is exercised extensively as part of godoc's indexer;
so we have some confidence in its correctness. But this needs a test,
eventually.

Fixes #1326.

R=rsc, r
CC=golang-dev
https://golang.org/cl/3481043
2010-12-09 10:22:01 -08:00
..
cmd go/ast: fix ast.Walk 2010-12-09 10:22:01 -08:00
lib9 libutf: update to Unicode 5.2.0 to match pkg/unicode 2010-11-01 16:14:48 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libmach libmach: detail for darwin errors 2010-11-05 23:03:53 -04:00
pkg go/ast: fix ast.Walk 2010-12-09 10:22:01 -08:00
Make.ccmd build: fiddle with make variables 2010-11-01 16:14:58 -04:00
Make.clib build: Allow archiver to be specified in the environment with HOST_AR. 2010-12-07 15:28:26 -05:00
Make.cmd Make.cmd: remove $(OFILES) 2010-10-11 22:39:37 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc build: Allow archiver to be specified in the environment with HOST_AR. 2010-12-07 15:28:26 -05:00
Make.pkg cgo: new cgo 2010-12-08 13:56:51 -05:00
all-nacl.bash
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash fix build: more libcgo references 2010-12-08 14:36:45 -05:00
env.bash env.bash: more quoting in case of spaces 2010-11-05 23:04:08 -04:00
make.bash fix build: more libcgo references 2010-12-08 14:36:45 -05:00
quietgcc.bash build: add GOHOSTOS and GOHOSTARCH environment variables. 2010-10-08 18:52:28 +11:00
run.bash build: add gobuilder and goplay to run.bash 2010-10-21 10:46:10 +11:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash