]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: modify line number printing for nodes
authorDavid Chase <drchase@google.com>
Thu, 3 Oct 2019 16:15:14 +0000 (12:15 -0400)
committerDavid Chase <drchase@google.com>
Fri, 4 Oct 2019 21:11:03 +0000 (21:11 +0000)
commitc1b7f508b0f4db605bfae4216f421bc3ec00de75
tree7066260c06c57aa58da40d08e164c6a41c4003cf
parentb8fe9f7970f82d43114d8aacb485b8cb4fd16c15
cmd/compile: modify line number printing for nodes

add preceding "+" for a line that is certainly a statement,
and "_" for a line this is certainly not a statement.

Change-Id: I831435dbc2302f25db1320b99d3513fe61fe1fa2
Reviewed-on: https://go-review.googlesource.com/c/go/+/198737
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
src/cmd/compile/internal/gc/fmt.go