Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: problems/risks due to programming language Message-ID: <16025@haddock.ima.isc.com> Date: 26 Feb 90 04:11:22 GMT References: <2903@goanna.oz.au> <12134@goofy.megatest.UUCP> <4611@jarthur.Claremont.EDU> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 9 In article <4611@jarthur.Claremont.EDU> jseidman@jarthur.Claremont.EDU (James Seidman) writes: >[Because of a problem with accidentally writing `foo:' for `case foo:', where >`foo' is an identifier denoting an enum constant,] Labeled statements inside >a case statement would be a nice addition to lint Unnecessary. Each of SysV lint, BSD lint, and gcc -Wall will already issue at least one warning for this. Karl W. Z. Heuer (karl@ima.ima.isc.com or harvard!ima!karl), The Walking Lint