Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!samsung!olivea!uunet!charyb!dan From: dan@kfw.COM (Dan Mick) Newsgroups: comp.unix.programmer Subject: Lint woes Message-ID: <1991May21.033422.21445@kfw.COM> Date: 21 May 91 03:34:22 GMT Reply-To: dan@kfw.com (Dan Mick) Organization: KFW Corporation, Newbury Park, CA Lines: 18 Is it just Sun's lint that won't detect nested comments? I spent about six hours trying to find out why the 'code' below wasn't ever executed (some fumble-fingered vi late at night had added the space, and I didn't remember what else I'd changed for certain, I thought). /* comment * / code; /* comment */ I kicked myself for not using lint, and then discovered lint is silent about this construct. Are all lints this stupid (that is, do they all just accept output from cpp without checking the original source)?