3 ms·
I'm going to write a pre-processor which adds the appropriate `break` statements automatically. No more fall-through bug. (And if you really want to fall thro
by loup-vaillant 12y ago
I'm going to write a pre-processor which adds the appropriate `break` statements automatically. No more fall-through bug.
(And if you really want to fall through, I could add a `fallthrough` keyword.)
- cperciva 12y agoFor what it's worth, it's a style bug in FreeBSD to have a fallthrough which does not have a /* FALLTHROUGH */ comment.
- scintill76 12y agoYep, could even re-use the "continue" keyword.