]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: support indirect macro expansion for string
authorHiroshi Ioka <hirochachacha@gmail.com>
Fri, 21 Apr 2017 10:18:36 +0000 (19:18 +0900)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 May 2017 22:19:51 +0000 (22:19 +0000)
commitdd61aa55e8f4d91fdcc098e64fa26854c860ff0d
tree43520ccdf555a709cd4066f0903bcd446c78a554
parent1b53f15ebb00dd158af674df410c7941abb2b933
cmd/cgo: support indirect macro expansion for string

Current code cannot handle string #define macros if those macros are
defined via other macros. This CL solve the issue.

Updates #18720

Change-Id: Ibed0773d10db3d545bb246b97e81c0d19e3af3d5
Reviewed-on: https://go-review.googlesource.com/41312
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/cgo/test/cgo_test.go
misc/cgo/test/issue18720.go [new file with mode: 0644]
src/cmd/cgo/gcc.go