Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!apple!motcsd!hpda!hpcuhc!kenny From: kenny@hpcuhc.HP.COM (Kenneth Lee) Newsgroups: comp.lang.c++ Subject: Re: lint++ -> really "AutoCodeReview" -- Ideas requested. Message-ID: <590001@hpcuhc.HP.COM> Date: 8 Dec 89 22:05:03 GMT References: <695@acrux.mdavcr.UUCP> Organization: Hewlett Packard, Cupertino Lines: 25 / hpcuhc:comp.lang.c++ / rdr@mdavcr.UUCP (Randolph Roesler) / 7:41 pm Dec 7, 1989 / > > We had lint in the old days to catch things like > > if ( x = 0 ) then > something_imporant(); > > which is almost certainly an error. I know it's certainly an error, but what are you trying to point out? Are you trying to say lint should do one of the following: 1. tell you a syntax error if ( expression ) then statement where then is not a keyword in C. 2. tell you a logic error if ( something which is always false ) thisWillNeverGetExecute(); Are these the jobs of lint? kenny