]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: add //line to copied bootstrap files
authorRuss Cox <rsc@golang.org>
Mon, 16 Mar 2015 19:18:49 +0000 (15:18 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 20 Mar 2015 00:02:42 +0000 (00:02 +0000)
commita5e18416fcf4eb66b852074141df48ce4988783f
treef795765bfca6f71ef17aafe611803ad4696e741d
parent564eab891a2a0da77aeec29d94a5a4c0c9d002b8
cmd/dist: add //line to copied bootstrap files

This way the error messages will show the original file name
in addition to the bootstrap file name, so that you have some
chance of making the correction in the original instead of the copy
(which will be blown away).

Before:
/Users/rsc/g/go/pkg/bootstrap/src/bootstrap/5g/gsubr.go:863: undefined: a

After:
/Users/rsc/g/go/src/cmd/5g/gsubr.go:860[/Users/rsc/g/go/pkg/bootstrap/src/bootstrap/5g/gsubr.go:863]: undefined: a

Change-Id: I8d6006abd9499edb16d9f27fe8b7dc6cae143fca
Reviewed-on: https://go-review.googlesource.com/7741
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/buildtool.go