Marco Colombo <[EMAIL PROTECTED]> writes: > But what happens if I delete the stm1 line? We have: > > case xxx: > /* fallthrough */ > case yyy: > stm2; > > which is wrong. AFAIK, that's perfectly correct. It's only the case where you have a label at the end of a block (without a statement following it) where it's an error. In the grammar, a statement must follow a label, but a labeled-statement is a type of statement, so you can stack labels as much as you want, as long as there's a statement somewhere after them. That is, assuming I'm reading the standard right (ISO/IEC 9899:1990, Section 6.6, 6.6.1). -- Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors! Programmers do it bit by bit. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] More compile warning fixes for 2.4.0 Albert D. Cahalan
- Re: [PATCH] More compile warning fixes for 2.4.0 Richard B. Johnson
- Re: [PATCH] More compile warning fixes for 2.4.0 Linus Torvalds
- Re: [PATCH] More compile warning fixes for 2.4... Albert D. Cahalan
- Re: [PATCH] More compile warning fixes for... Linus Torvalds
- Re: [PATCH] More compile warning fixes... Andrea Arcangeli
- Re: [PATCH] More compile warning fixes... Linus Torvalds
- Re: [PATCH] More compile warning fixes... Rich Baum
- Re: [PATCH] More compile warning fixes... Andrea Arcangeli
- Re: [PATCH] More compile warning fixes... Marco Colombo
- Re: [PATCH] More compile warning fixes... Alan Shutko
- Re: [PATCH] More compile warning fixes... Marco Colombo
- Re: [PATCH] More compile warning fixes... Linus Torvalds
- Re: [PATCH] More compile warning fixes... Marco Colombo
- Re: [PATCH] More compile warning fixes for 2.4... Rich Baum