1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:55:01 -07:00

cmd/gc: remove spurious newline from node dump

R=ken2
CC=golang-dev
https://golang.org/cl/7276048
This commit is contained in:
Russ Cox 2013-02-02 23:09:49 -05:00
parent 9bfd3c3937
commit fc6b530f0f

View File

@ -1672,11 +1672,11 @@ fmtinstallgo(void)
void
dumplist(char *s, NodeList *l)
{
print("%s\n%+H\n", s, l);
print("%s%+H\n", s, l);
}
void
dump(char *s, Node *n)
{
print("%s [%p]\n%+N\n", s, n, n);
print("%s [%p]%+N\n", s, n, n);
}