From: Ian Lance Taylor Date: Thu, 22 Mar 2012 18:40:12 +0000 (-0700) Subject: cmd/gc: fix comment typo, assignment spacing X-Git-Tag: weekly.2012-03-22~7 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=209b2e55f70169c517e682532e48e49d6a86d1bf;p=gostls13.git cmd/gc: fix comment typo, assignment spacing R=bradfitz, gri, lvd CC=golang-dev https://golang.org/cl/5874053 --- 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;