diff options
author | Russ Cox <rsc@golang.org> | 2009-12-15 16:44:28 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-12-15 16:44:28 -0800 |
commit | be19867259d73e5c8396973bc5c011654922070e (patch) | |
tree | 1d50e0d4bfaee6e67d52cc432448b7667ec1f7d9 /src/cmd/gc/go.y | |
parent | d3c51b2636dcc0169e16952ea783c74b855d42b7 (diff) | |
download | golang-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.y | 2 |
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 } |