]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: fix unexpected semicolon in rewritten line
authorRuss Cox <rsc@golang.org>
Tue, 30 Apr 2019 18:56:12 +0000 (14:56 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 7 May 2019 12:48:04 +0000 (12:48 +0000)
commita88cb1d8e117685134b719e1042b022e5189d804
treecb56513c26a665eab7b52c16fb44fcaf6576c168
parent3e7e2546fc77a80002afcd8ed890b3fe3af48972
cmd/cgo: fix unexpected semicolon in rewritten line

Followup to CL 157961 and CL 158457.
Finish the list of operators and punctuation
that disable semicolon insertion at end-of-line
The reported case was "(" but "." was also missing.

Fixes #31017.

Change-Id: I0c06443f38dc8250c62e3aadd104abfa0e3be074
Reviewed-on: https://go-review.googlesource.com/c/go/+/174524
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/test/issue29781.go
src/cmd/cgo/godefs.go