summaryrefslogtreecommitdiff
path: root/src/pkg/xml/xml.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-07 14:55:12 -0700
committerRuss Cox <rsc@golang.org>2009-10-07 14:55:12 -0700
commit8d2c6f61d1047d54d9c550cbfaa0573b105bc51d (patch)
tree0bc92db04f9ce77a95481c15bd0f644999245d17 /src/pkg/xml/xml.go
parentc347fdc13f125e304e5fa1ab24bed22362ebd4c5 (diff)
downloadgolang-8d2c6f61d1047d54d9c550cbfaa0573b105bc51d.tar.gz
better handling of mistaken top-level variable
references during the parsing of :=. the base problem is that when reading a,b,c,d the parser makes those refer to existing variables, which might create a few stub top-level ones for undefined names, but then if a := is the next token, we need to undo those stubs. this was causing problems in multifile packages in which one file used a := variable named rpc and the other imported a package named rpc. R=ken OCL=35446 CL=35446
Diffstat (limited to 'src/pkg/xml/xml.go')
0 files changed, 0 insertions, 0 deletions