Commit a5e48cf0 authored by Russ Cox's avatar Russ Cox

cmd/internal/gc: fix node print

Change-Id: I0d2b909ceeba9da86c77de4ce23d7c6063f8f10f
Reviewed-on: https://go-review.googlesource.com/9017Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 7ae9d068
......@@ -202,7 +202,7 @@ func Jconv(n *Node, flag int) string {
}
if c == 0 && n.Addable {
fmt.Fprintf(&buf, " a(%d)", n.Addable)
fmt.Fprintf(&buf, " a(%v)", n.Addable)
}
if c == 0 && n.Vargen != 0 {
......@@ -230,7 +230,7 @@ func Jconv(n *Node, flag int) string {
}
if n.Colas {
fmt.Fprintf(&buf, " colas(%d)", n.Colas)
fmt.Fprintf(&buf, " colas(%v)", n.Colas)
}
if n.Funcdepth != 0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment