1
0
mirror of https://github.com/golang/go synced 2024-10-05 10:31:22 -06:00
go/src/cmd/cc
Ron Minnich 1bc1caa802 cc: change cas to newcase
Change the name of cas() in cc to newcase() to avoid a NIX conflict.
cas() is used in cc to create a new Case struct. There is a name
conflict in that cas() is a commonly-used
name for compare and swap. Since cas() is only used internally
in the compiler in 3 places, change the name to avoid a wider
conflict with the NIX runtime. This issue might well come up on
other OSes in the future anyway, as the name is fairly common.

R=rsc
CC=golang-dev
https://golang.org/cl/5294071
2011-10-26 15:27:59 -07:00
..
acid.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
bits.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
cc.h 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
cc.y 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
com64.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
com.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
dcl.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
dpchk.c cc: fixes for Plan 9 build 2011-07-13 16:01:29 -07:00
funct.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
godefs.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
lex.c cc: fixes for Plan 9 build 2011-07-13 16:01:29 -07:00
lexbody 8a: fixes for Plan 9 build 2011-06-27 14:42:18 -04:00
mac.c cc: fixes for Plan 9 build 2011-07-13 16:01:29 -07:00
macbody 8a: fixes for Plan 9 build 2011-06-27 14:42:18 -04:00
Makefile cc: mode to generate go-code for types and variables. 2011-01-25 19:00:14 +01:00
omachcap.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
pgen.c cc: change cas to newcase 2011-10-26 15:27:59 -07:00
pswt.c cc: change cas to newcase 2011-10-26 15:27:59 -07:00
scon.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00
sub.c 8c: fixes for Plan 9 build 2011-07-01 09:50:24 -04:00