diff options
author | Eden Li <eden.li@gmail.com> | 2009-11-18 09:59:10 -0800 |
---|---|---|
committer | Eden Li <eden.li@gmail.com> | 2009-11-18 09:59:10 -0800 |
commit | b8d2cbcfc1c3f4e7af184066b99bcbde2cb87df8 (patch) | |
tree | 95742e8f1d6cc26c5658cef6a97b7e287c1063b4 /doc/gccgo_install.html | |
parent | ab3206fdfbac35845389ed849535c20e93497af0 (diff) | |
download | go-b8d2cbcfc1c3f4e7af184066b99bcbde2cb87df8.tar.gz |
Mangle C struct fields that happen to be named after Go keywords by prefixing them with _. Collisions with existing fields are resolved by prefixing the new Go identifier with _ until it matches nothing else in the struct.
Fixes issue 36.
R=rsc
http://codereview.appspot.com/157061
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'doc/gccgo_install.html')
0 files changed, 0 insertions, 0 deletions