1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:54:46 -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:
Alex Brainman 2011-06-17 16:41:59 +10:00
parent eaa082f691
commit 8155ff5452

View File

@ -348,7 +348,7 @@ func (b *build) gccArgs(args ...string) []string {
return append(a, args...)
}
var cgoRe = regexp.MustCompile("[/\\:]")
var cgoRe = regexp.MustCompile(`[/\\:]`)
func (b *build) cgo(cgofiles []string) (outGo, outObj []string) {
// cgo