1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:44:39 -07:00

gc: printing of ...

R=ken2
CC=golang-dev
https://golang.org/cl/2218043
This commit is contained in:
Russ Cox 2010-09-24 12:29:20 -04:00
parent 8d87ccad0b
commit 1d315a8abd

View File

@ -337,6 +337,8 @@ exprfmt(Fmt *f, Node *n, int prec)
exprfmt(f, n->left, 7);
fmtprint(f, "(");
exprlistfmt(f, n->list);
if(n->isddd)
fmtprint(f, "...");
fmtprint(f, ")");
break;