Path: utzoo!attcan!uunet!husc6!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: How do you document breakless cases? Keywords: switch,case,break Message-ID: <16001@tut.cis.ohio-state.edu> Date: 21 Jun 88 04:46:20 GMT Organization: Ohio State Computer & Info Science Lines: 17 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,