diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2011-06-17 16:41:59 +1000 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2011-06-17 16:41:59 +1000 |
| commit | 8155ff545201f478626a89011f2f8eb2e32923a2 (patch) | |
| tree | 6029d6466edb47394a1f7e7b998237c68de61d53 /src | |
| parent | eaa082f69121cb8dcb33a2edfe9ca2eed6a69943 (diff) | |
| download | go-8155ff545201f478626a89011f2f8eb2e32923a2.tar.xz | |
go/build: use back quotes for regular expression
R=adg
CC=golang-dev
https://golang.org/cl/4643045
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/go/build/build.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/go/build/build.go b/src/pkg/go/build/build.go index d880746fe4..585489279f 100644 --- a/src/pkg/go/build/build.go +++ b/src/pkg/go/build/build.go @@ -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 |
