mirror of
https://github.com/golang/go
synced 2024-11-19 15:44:44 -07:00
go/build: use back quotes for regular expression
R=adg CC=golang-dev https://golang.org/cl/4643045
This commit is contained in:
parent
eaa082f691
commit
8155ff5452
@ -348,7 +348,7 @@ func (b *build) gccArgs(args ...string) []string {
|
|||||||
return append(a, args...)
|
return append(a, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
var cgoRe = regexp.MustCompile("[/\\:]")
|
var cgoRe = regexp.MustCompile(`[/\\:]`)
|
||||||
|
|
||||||
func (b *build) cgo(cgofiles []string) (outGo, outObj []string) {
|
func (b *build) cgo(cgofiles []string) (outGo, outObj []string) {
|
||||||
// cgo
|
// cgo
|
||||||
|
Loading…
Reference in New Issue
Block a user