> I assume you mean the function in the C frontend, in c-decl.c.
thats correct!
thanks a lot!
2009/4/7 Ian Lance Taylor :
> Eduardo Cruz writes:
>
>> does the function lookup_name distinguish the identifier between
>> different contexts?
>
> I assume you mean the function in the C frontend, in c
Eduardo Cruz writes:
> does the function lookup_name distinguish the identifier between
> different contexts?
I assume you mean the function in the C frontend, in c-decl.c. That
function looks up the name in the current scope, so, yes, it will return
different DECL nodes when appropriate.
Ian