summaryrefslogtreecommitdiff
path: root/src/cmd/gc/go.y
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-12-15 16:44:28 -0800
committerRuss Cox <rsc@golang.org>2009-12-15 16:44:28 -0800
commitbe19867259d73e5c8396973bc5c011654922070e (patch)
tree1d50e0d4bfaee6e67d52cc432448b7667ec1f7d9 /src/cmd/gc/go.y
parentd3c51b2636dcc0169e16952ea783c74b855d42b7 (diff)
downloadgolang-be19867259d73e5c8396973bc5c011654922070e.tar.gz
gc: fix import name resolution
Fixes issue 403. R=ken2 http://codereview.appspot.com/180052
Diffstat (limited to 'src/cmd/gc/go.y')
-rw-r--r--src/cmd/gc/go.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/go.y b/src/cmd/gc/go.y
index 6d86a6a99..35e7742d9 100644
--- a/src/cmd/gc/go.y
+++ b/src/cmd/gc/go.y
@@ -195,7 +195,7 @@ import_stmt:
}
my->def = pack;
my->lastlineno = $1;
- import->block = 1; // at top level
+ my->block = 1; // at top level
}