Begin-end blocks form a scope if they contain declarations (even if unnamed) or if they are named (even if they do not contain declarations), don't they? If so, then it would be consistent for a labelled for-loop to create a scope even if it does not contain declarations. Shalom > >SVDB 1348 ___Yes _X_No > >http://www.eda.org/svdb/view.php?id=1348 > > I have a problem with the text > > "A statement label on a for or foreach loop names the > implicit block created by the for or foreach loop." > > This implies that a for loop always creates an implicit > block. But it only creates an implicit block if it is the > extended form that has variable declarations in the initializer. > > I would suggest that this be changed to something like > > "A statement label on a foreach loop, or on a for loop with > variables declared as part of the for_initialization, names > the implicit block created by the loop." --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Oct 14 03:24:06 2007
This archive was generated by hypermail 2.1.8 : Sun Oct 14 2007 - 03:24:19 PDT