]> Cypherpunks repositories - gostls13.git/commit
cmd/5l etc: restore comments lost during C -> Go conversion
authorRuss Cox <rsc@golang.org>
Thu, 5 Mar 2015 18:57:36 +0000 (13:57 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 5 Mar 2015 21:49:39 +0000 (21:49 +0000)
commitcdb7d7dcc22a2f09df0267641b73d45703ffc6e8
treec4eb0505b505287138c8cc05e3321f4c0b7277e8
parentd970bea88500b21c85d51199d6b0deb1e764950a
cmd/5l etc: restore comments lost during C -> Go conversion

It appears that c2go dropped comments inside struct { ... } and enum { ... }.
Restore them.

Identified missing comments by checking for comments present
in the C code but not the Go code, made a list, and then reapplied
with some mechanical help.

Missing comment finder: http://play.golang.org/p/g6qNUAo1Y0

Change-Id: I323ab45c7ef9d51e28eab3b699eb14bee1eef66b
Reviewed-on: https://go-review.googlesource.com/6899
Reviewed-by: Rob Pike <r@golang.org>
36 files changed:
src/cmd/5l/asm.go
src/cmd/5l/l.go
src/cmd/6l/asm.go
src/cmd/6l/l.go
src/cmd/8g/reg.go
src/cmd/8l/l.go
src/cmd/9g/opt.go
src/cmd/9g/reg.go
src/cmd/9l/l.go
src/cmd/internal/gc/esc.go
src/cmd/internal/gc/go.go
src/cmd/internal/gc/gsubr.go
src/cmd/internal/gc/order.go
src/cmd/internal/gc/plive.go
src/cmd/internal/gc/popt.go
src/cmd/internal/gc/range.go
src/cmd/internal/gc/syntax.go
src/cmd/internal/gc/typecheck.go
src/cmd/internal/gc/walk.go
src/cmd/internal/ld/decodesym.go
src/cmd/internal/ld/dwarf.go
src/cmd/internal/ld/dwarf_defs.go
src/cmd/internal/ld/elf.go
src/cmd/internal/ld/go.go
src/cmd/internal/ld/ldelf.go
src/cmd/internal/ld/ldmacho.go
src/cmd/internal/ld/ldpe.go
src/cmd/internal/ld/lib.go
src/cmd/internal/ld/pe.go
src/cmd/internal/obj/arm/5.out.go
src/cmd/internal/obj/arm/asm5.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/ppc64/9.out.go
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/x86/6.out.go
src/cmd/internal/obj/x86/asm6.go