• 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
doc Loading commit data...
include Loading commit data...
lib/godoc Loading commit data...
misc Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
usr Loading commit data...
AUTHORS Loading commit data...
LICENSE Loading commit data...