diff options
| author | Russ Cox <rsc@golang.org> | 2016-02-08 07:08:14 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2016-02-19 01:37:51 +0000 |
| commit | 9aa630faa868fde13af74e5b22ddba89a635d837 (patch) | |
| tree | 4b984c7aaa21c3dac20c0fb1c6892192a024d46f /src/runtime/testdata | |
| parent | fe5eac63c4b8d8f9d541d40f9055c3e4d4454d67 (diff) | |
| download | go-9aa630faa868fde13af74e5b22ddba89a635d837.tar.xz | |
cmd/dist: accept "//+build" with no spaces, like go/build
The go/build parser accepts "//+build", with no spaces.
Make the cmd/dist bootstrap parser do the same.
While in theory we should always use the space form,
I copied some code that did not into the standard tree,
and I was very confused that 'go test' had had no problem
but then make.bash died.
(As a reminder, cmd/dist does not use go/build because
cmd/dist must build against earlier versions of Go.)
Change-Id: I90a18014bd878247b8811487e5c1a7589260cbfc
Reviewed-on: https://go-review.googlesource.com/19618
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions
