]> Cypherpunks repositories - gostls13.git/commit
cmd/go: accept more spaces in -gcflags arguments
authorRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 16:47:06 +0000 (11:47 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 1 Dec 2017 21:05:46 +0000 (21:05 +0000)
commit2f8bcc89408274821e91be464f51b4e2a816cbae
tree997405b2a53f05f882f777cf69718f8633d0706f
parent8bb51a73e9a09c1a501c9d12f425aeb293e7d0ee
cmd/go: accept more spaces in -gcflags arguments

Earlier versions of Go were not very picky about leading spaces
in the -gcflags values. Make the new pattern-enhanced parser
equally lax.

Fixes #22943.

Change-Id: I5cf4d3e81412e895a4b52af325853ed48d0b73f4
Reviewed-on: https://go-review.googlesource.com/81498
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/load/flag.go