lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) (06/21/88)
I'm trying to come up with a standard way to document breakless case statements in the C code on my project. I've seen four ways to do it: 1) do nothing 2) use the "lint-like" comment /* FALLTHROUGH */ or /* FALLTHRU */ or /* FLOWTHRU */ 3) use a sentence in a comment eg /* a break is not used in this case */ 4) use a define, eg #define flowthru /* nothing */ flowthru; Anyone got other ideas on ways to do this? Please e-mail to me and I'll summarize the responses on 06/28. If one of these ways seems especially good or bad (except 1 which everyone knows is poor right?) to you let me know that too. Thanks,