]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/gc: remove spurious newline from node dump
authorRuss Cox <rsc@golang.org>
Sun, 3 Feb 2013 04:09:49 +0000 (23:09 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 3 Feb 2013 04:09:49 +0000 (23:09 -0500)
R=ken2
CC=golang-dev
https://golang.org/cl/7276048

src/cmd/gc/fmt.c

index 53a200b4fefe492f1749e0b73a582cc63a934c59..bae66e07728e541678c5bb7cf873a4cf9b99f225 100644 (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);
 }