erict@flatline.UUCP (j eric townsend) (02/13/89)
The Subject: line says it all. I'm running Unix, if that makes any difference. -- J. Eric Townsend | "When I was a boy, we didn't have MTV. uunet!nuchat!flatline!erict | We had to take drugs and go to concerts..." ..!bellcore!texbell!/ 511 Parker #2 |EastEnders Mailing List: BITNET: cosc5fa@uhnix1.EDU Houston,Tx,77007 |eastender@flatline.UUCP
rang@cpsin3.cps.msu.edu (Anton Rang) (02/14/89)
I'm not quite sure what you want...most of what 'lint' gives to you seems to be the type checking which is built into the Pascal language. What, precisely, do you want? +---------------------------+------------------------+----------------------+ | Anton Rang (grad student) | Things could be worse. | "Do worry...be SAD!" | | Michigan State University | rang@cpswh.cps.msu.edu | | +---------------------------+------------------------+----------------------+
erict@flatline.UUCP (j eric townsend) (02/14/89)
In article <1806@cps3xx.UUCP>, rang@cpsin3.cps.msu.edu (Anton Rang) writes: > I'm not quite sure what you want...most of what 'lint' gives to you > seems to be the type checking which is built into the Pascal language. Telling me that I have an unequal number of comment start/stops would be nice. Counting my begins and ends would be nice as well. I'm beginning to think that my pascal compiler is rather weak in the following-the-rules and being-helpful catagories. It seems like every other error message is "Check your code, and if it's right, contact compiler maintenance personel." -- J. Eric Townsend | "When I was a boy, we didn't have MTV. uunet!nuchat!flatline!erict | We had to take drugs and go to concerts..." ..!bellcore!texbell!/ 511 Parker #2 |EastEnders Mailing List: BITNET: cosc5fa@uhnix1.EDU Houston,Tx,77007 |eastender@flatline.UUCP
rang@cpsin3.cps.msu.edu (Anton Rang) (02/14/89)
[ This is about wanting lint for Pascal ] In article <321@flatline.UUCP> erict@flatline.UUCP (j eric townsend) writes: >Telling me that I have an unequal number of comment start/stops would be >nice. Counting my begins and ends would be nice as well. Better Pascal compilers take care of this. Counting begins and ends is required by the Pascal syntax; if you mean "giving useful information about where they don't match", it depends on the compiler. I've been spoiled under VAX/VMS, I guess. The same goes for comments (lots of compilers give warnings about attempted nesting). >I'm beginning to think that my pascal compiler is rather weak in the >following-the-rules and being-helpful catagories. Yep, sounds like it. Guess you're out of luck, unless you can find a better compiler or a lint-like substitute. :-( (Or wait for the GNU Pascal compiler :-) Good luck. +---------------------------+------------------------+----------------------+ | Anton Rang (grad student) | Things could be worse. | "Do worry...be SAD!" | | Michigan State University | rang@cpswh.cps.msu.edu | | +---------------------------+------------------------+----------------------+