go/src/cmd/cgo
Rémy Oudompheng 23ffbe611d cgo: print error instead of panic on undeclared enums/structs
Types are left as nil if no DWARF information is found and
checking in the rewriting pass so that appropriate errors
with line numbers can be printed.
Fixes #2408.

R=rsc
CC=golang-dev, remy
https://golang.org/cl/5336041
2011-11-09 16:01:55 -05:00
..
ast.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
doc.go cgo, gotest: use error instead of os.Error in generated code 2011-11-01 21:49:22 -04:00
gcc.go cgo: print error instead of panic on undeclared enums/structs 2011-11-09 16:01:55 -05:00
main.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
Makefile build: no required environment variables 2010-08-18 10:08:49 -04:00
out.go all: rename os.Error to error in various non-code contexts 2011-11-01 22:58:09 -04:00
util.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00