Christopher Benson-Manica said:
No, I was actually suggesting that K&R2 is incorrect. The OP's quote is
indeed from K&R2 (page 84), and K's text seems to me to be wrong for a
compound statement that forms the body of a switch statement.
This is forgiveable, of course - my money-back suggestion was intended
to be light-hearted - but it's still an error, AFAICS.
Conflicting views, anyone?
I don't subscribe to your view.
It is all about the interpretation of the phras "block is entered".
Here goes my view, which I think most people would agree.
Having a simple analogy between a house and a block, I think, to say
"enter the house" will evidently mean to *most* people (you migh not
come under that "most"!), that you enter into the house via its main
door.
In this particular case of the compound statement associated with the
switch statement, you "sneak" into the block. So the phrase "block is
entered" does not apply here.