• Russ Cox's avatar
    better handling of mistaken top-level variable · d5150635
    Russ Cox authored
    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
    d5150635
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libcgo Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.386 Loading commit data...
Make.amd64 Loading commit data...
Make.arm Loading commit data...
Make.cmd Loading commit data...
Make.conf Loading commit data...
Make.pkg Loading commit data...
all-arm.bash Loading commit data...
all-nacl.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
make-arm.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...