]> Cypherpunks repositories - gostls13.git/commit
cgo: Only allow numeric / string / character type constants for references
authorDevon H. O'Dell <devon.odell@gmail.com>
Thu, 14 Jan 2010 00:48:14 +0000 (16:48 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 14 Jan 2010 00:48:14 +0000 (16:48 -0800)
commite8afb6d87f76668ce4b4b560d89e4ecc2b7d974f
tree455c9a825827545e2375f2f5e41896a07b658b80
parentc6336155f1718bd0485be8800d6cebedfe920073
cgo: Only allow numeric / string / character type constants for references
to #defined things.

Fixes #520.

R=rsc, rsaarelm
CC=golang-dev
https://golang.org/cl/186138
src/cmd/cgo/gcc.go