]> Cypherpunks repositories - gostls13.git/commit
cmd/go: adjust regexp that cleans cgo-related errors
authorRobert Griesemer <gri@golang.org>
Tue, 13 Jun 2017 20:05:33 +0000 (13:05 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 13 Jun 2017 20:18:40 +0000 (20:18 +0000)
commit4c028e565071c80803c975ca9c6431dbc6bb2a88
treec7fd1de4adfba24bc4f9af2a65d8977c549ed9bf
parent8546aa2e4b6a2898b52f5fd58f0e522ddf590572
cmd/go: adjust regexp that cleans cgo-related errors

The compiler now also prints column information - make sure we use
the correct regexp for compiler error cleanups. Accept both, error
positions with columns and without, since column printing may be
disabled with -gcflags=-C.

Fixes #20628.

Change-Id: I46dc921dd5c29d7b8172cd19a3df57951f60d889
Reviewed-on: https://go-review.googlesource.com/45612
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/go/internal/work/build.go