go/src/cmd
Russ Cox ebce79446d build: annotations and modifications for c2go
The main changes fall into a few patterns:

1. Replace #define with enum.

2. Add /*c2go */ comment giving effect of #define.
This is necessary for function-like #defines and
non-enum-able #defined constants.
(Not all compilers handle negative or large enums.)

3. Add extra braces in struct initializer.
(c2go does not implement the full rules.)

This is enough to let c2go typecheck the source tree.
There may be more changes once it is doing
other semantic analyses.

LGTM=minux, iant
R=minux, dave, iant
CC=golang-codereviews
https://golang.org/cl/106860045
2014-07-02 15:41:29 -04:00
..
5a all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
5c cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
5g build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
5l build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
6a liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
6c cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
6g build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
6l build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
8a liblink, cmd/gc, cmd/{5,6,8}{a,c}: rename linkwriteobj to writeobj 2014-04-16 14:36:44 -07:00
8c cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
8g build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
8l build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
addr2line build: make nacl pass 2014-05-20 12:10:19 -04:00
api api: add go1.3.txt 2014-06-02 11:45:00 +09:00
cc cmd/5c, cmd/6c, cmd/8c, cmd/cc: remove unused global variable retok. 2014-06-17 02:05:27 -04:00
cgo cmd/cgo: for typedef of untagged struct, use typedef name in C code 2014-06-05 10:42:03 -07:00
dist build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
fix
gc build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
go cmd/go: build non-runnable examples in xtests 2014-06-28 07:15:22 +10:00
gofmt cmd/gofmt: fix gofmt -s for 3-index slices 2014-07-01 10:40:27 -07:00
ld build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
link src: fix issues found by go vet std 2014-04-26 19:54:48 -07:00
nm build: make nacl pass 2014-05-20 12:10:19 -04:00
objdump cmd/objdump: add arm disassembler 2014-06-01 18:53:59 -04:00
pack build: make nacl pass 2014-05-20 12:10:19 -04:00
yacc cmd/yacc: expr example support windows 2013-12-19 12:14:07 -05:00