From 209b2e55f70169c517e682532e48e49d6a86d1bf Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 22 Mar 2012 11:40:12 -0700 Subject: [PATCH] cmd/gc: fix comment typo, assignment spacing R=bradfitz, gri, lvd CC=golang-dev https://golang.org/cl/5874053 --- src/cmd/gc/walk.c | 4 ++-- 1 file 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; -- 2.50.0