• Ken Thompson's avatar
    generate an error if the foreward · 5d6eba80
    Ken Thompson authored
    declaration of a func does not exactly
    match the actual (or another foreward)
    declaration. the reason is that when
    there are 2 declarations of a function,
    the names of the parameters are taken
    from the first. thus
       func x(a int);
    followed by
       func x(b int) { ... }
    will have the parameter named "a" and
    "b" will be undefined.
    
    SVN=114788
    5d6eba80
Name
Last commit
Last update
..
const.c Loading commit data...
dcl.c Loading commit data...
export.c Loading commit data...
gen.c Loading commit data...
gen.h Loading commit data...
go.h Loading commit data...
go.y Loading commit data...
gsubr.c Loading commit data...
lex.c Loading commit data...
mpatof.c Loading commit data...
obj.c Loading commit data...
subr.c Loading commit data...
test.c Loading commit data...
walk.c Loading commit data...