Dave Rich wrote: >According to 9.8, only named blocks create a new hierarchical scope. The word "only" does not appear in that sentence in 9.8, at least not in the draft I am looking at (draft 4). There is also Note 1 in 32.9 (which presumably isn't a note any more) that says "Unnamed scopes shall have valid names, though tool dependent." This confirms that these "unnamed" scopes are really named scopes with compiler-generated names. >You wouldn't want the hierarchical path to be dependant on whether or >not a variable was declared in the unnamed block, would you? I wouldn't want variables to be declared in unnamed blocks in the first place. However, when I raised issues with this, the counter-argument was that these were just equivalent to named blocks where the compiler created the name, so there was no problem. I don't recall whether you made that counter-argument, but it is likely that you were attending the meeting. Steven Sharp sharp@cadence.comReceived on Wed May 18 17:41:08 2005
This archive was generated by hypermail 2.1.8 : Wed May 18 2005 - 17:41:17 PDT