[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: break syntax
- From: ramsdell@... (John D. Ramsdell)
- Date: 01 Aug 2001 07:41:17 -0400
It is clear why the return statement must be the last statement of
block, othewise, an assignment or function call could follow the return
statement, and one would not know where one ends and the other begins.
I am unable to see why a break statement is required to be the last
statement of a block for syntactic reasons. I can find no syntactic
ambiguity as a result of allowing break in the middle of a block.
Please tell me the reason break must appear at the end of a block.