Eduardo Cruz <eduardohmdac...@gmail.com> 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