Commit db7a2024 authored by Russ Cox's avatar Russ Cox

gc: printing of multiple assignment

R=ken2
CC=golang-dev
https://golang.org/cl/4429043
parent a696da10
...@@ -242,6 +242,17 @@ exprfmt(Fmt *f, Node *n, int prec) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment