1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:14:41 -07:00

gc: printing of multiple assignment

R=ken2
CC=golang-dev
https://golang.org/cl/4429043
This commit is contained in:
Russ Cox 2011-04-15 10:34:55 -04:00
parent a696da10e0
commit db7a2024f9

View File

@ -242,6 +242,17 @@ exprfmt(Fmt *f, Node *n, int prec)
exprfmt(f, n->right, 0);
break;
case OAS2:
case OAS2DOTTYPE:
case OAS2FUNC:
case OAS2MAPR:
case OAS2MAPW:
case OAS2RECV:
exprlistfmt(f, n->list);
fmtprint(f, " = ");
exprlistfmt(f, n->rlist);
break;
case OADD:
case OANDAND:
case OANDNOT: