• Russ Cox's avatar
    fix implicit star for range on *map, *[]. · 47e51527
    Russ Cox authored
    do not update lineno from ONAME nodes,
    	because they have declaration lineno not use.
    show actual name in top-level statement error.
    
    before
    runtime.a:7: x.go:5: walkstate: NAME not a top level statement
    
    after
    x.go:14: walkstate: runtime.Goexit not a top level statement
    
    R=ken
    OCL=29113
    CL=29116
    47e51527
walk.c 69.6 KB