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:
parent
a696da10e0
commit
db7a2024f9
@ -242,6 +242,17 @@ exprfmt(Fmt *f, Node *n, int prec)
|
|||||||
exprfmt(f, n->right, 0);
|
exprfmt(f, n->right, 0);
|
||||||
break;
|
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 OADD:
|
||||||
case OANDAND:
|
case OANDAND:
|
||||||
case OANDNOT:
|
case OANDNOT:
|
||||||
|
Loading…
Reference in New Issue
Block a user