diff options
author | Ian Lance Taylor <iant@golang.org> | 2012-03-22 11:40:12 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2012-03-22 11:40:12 -0700 |
commit | 209b2e55f70169c517e682532e48e49d6a86d1bf (patch) | |
tree | a436739c653e5270931c90b5675e04d72afc8d95 | |
parent | 47b6197a011f201b6975407c36978dac0b1f87d7 (diff) | |
download | go-209b2e55f70169c517e682532e48e49d6a86d1bf.tar.gz go-209b2e55f70169c517e682532e48e49d6a86d1bf.zip |
cmd/gc: fix comment typo, assignment spacing
R=bradfitz, gri, lvd
CC=golang-dev
https://golang.org/cl/5874053
-rw-r--r-- | src/cmd/gc/walk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/gc/walk.c b/src/cmd/gc/walk.c index ff6f1d28bd..7dfd34a7ab 100644 --- a/src/cmd/gc/walk.c +++ b/src/cmd/gc/walk.c @@ -2358,10 +2358,10 @@ append(Node *n, NodeList **init) walkexprlistsafe(n->list, init); - // walkexprlistsafe will leave OINDEX (s[n]) along if both s + // walkexprlistsafe will leave OINDEX (s[n]) alone if both s // and n are name or literal, but those may index the slice we're // modifying here. Fix explicitly. - for(l = n->list; l; l=l->next) + for(l=n->list; l; l=l->next) l->n = cheapexpr(l->n, init); nsrc = n->list->n; |