[Dwarf-discuss] scope of a variable without lexical tag

drizzle drizzle drizzle76 at gmail.com
Wed Apr 4 19:54:02 PDT 2007


Hi
     Is lexical tags essential to be able to distinguish between two
local variables of the same name but in different scopes ( say
declared in two different if blocs) bu ?  I am wondering what the
consequence might be in terms of debugging correctness if the compiler
does not generate the lexical tag ?

if (  }
{
   int x;

}

if (){

int x;

}

     Can they be distinguished without the lexical tag ?

thanks
dz



More information about the Dwarf-Discuss mailing list