Commit Graph

15 Commits

Author SHA1 Message Date
lukem
704847f405 cleanup (prior to more adding more features):
- convert to ANSI KNF
- remove trailing whitespace
- translate some comments from german into english

code compiles and runs clean, and tested by running "make lint" against
xlint source using previous and this lint produces same results.
2001-05-28 12:40:37 +00:00
lukem
905f1ba6a0 support // comments if -g is given 2001-05-24 12:10:39 +00:00
cgd
fd8d16c72f fix broken NetBSD RCS id tags 2001-02-24 00:43:50 +00:00
christos
2e6af79a57 - support for -X flag
- support for -m flag
- print the error number in each message
2000-07-06 01:09:20 +00:00
mycroft
defaa2bc6e Fix a recurring typo: comparision -> comparison. 1998-07-27 13:50:46 +00:00
christos
a06495e3c4 WARNSify 1998-02-22 15:40:39 +00:00
cgd
f9356d1960 implement (hack in) symbol (function and variable) renaming, so that
the function renaming tricks currently needed by libc can be tolerated
by lint.  This needs some cleanup, but it appears to work.
1997-11-03 22:36:31 +00:00
jpo
0c1422d6bc removed some dubious warnings about conversion of constant operands of
bitwise operators
1995-10-02 17:37:00 +00:00
jpo
5888f3bb16 LINTED and CONSTCOND are now valid up to the next end of a
global or local declaration/definition/statement. Originally they were
valid on the current and next line, which made it hard to suppress
warnings in constructs with more then one line.

LONGLONG can now be used to suppress errors or warnings in the next
declaration, definition or statement.
1995-10-02 17:29:45 +00:00
jpo
bcb6c46ca1 some minor bug fixes 1995-10-02 17:22:46 +00:00
jpo
6910cf7927 prototypes override old style function definitions
this is a gnu extension to ansi c
1995-10-02 17:21:24 +00:00
jpo
ef83266200 __{const,signed,volatile}{__,} added
const, signed and volatile are disabled with -t
1995-10-02 17:18:53 +00:00
jpo
2e332f67bf added inline keywords
"inline" is enabled by -g, "__inline" and "__inline__" are always available
1995-10-02 17:14:06 +00:00
cgd
c61d16ddbe RCS id cleanup 1995-07-03 21:23:45 +00:00
cgd
b14be51dec lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
reason to why 'install' is named 'xinstall'.
1995-07-03 20:56:35 +00:00