How do vendors implement /*FALLTHROUGH*/ in lint?

Stephen J. Friedl friedl at vsi.COM
Tue Nov 22 17:32:13 AEST 1988


This is a quick one, folks.  Some vendors implement a lintpragma
to check for fall-through without a break to the next case in a
switch statement.  My question: how is this usually done?  I've
seen a compiler that took /*FALLTHROUGH/ and /*FALLTHRU*/ -- any
others?

Please email, I'll summarize and post.

     Steve

-- 
Steve Friedl    V-Systems, Inc.  +1 714 545 6442    3B2-kind-of-guy
friedl at vsi.com     {backbones}!vsi.com!friedl    attmail!vsi!friedl
------------Nancy Reagan on the worm: "Just say OH NO!"------------
:wq!



More information about the Comp.lang.c mailing list