NetBSD/usr.bin/xlint
christos d79deccee9 Unfortunately lint uses c-style comments as directives and these get parsed
at the lexical analysis stage not at the syntax parsing stage. The upshot
is that:
	if (expr) {
		stmt1;
	}
	/* LINTED */
	stmt2;

stmt2 is the look-ahead token for the parser to choose between and if-then-else
statement as opposed to an if-then statement. Unfortunately the side effect
is that the LINTED directive gets reset before stmt2 gets parsed. We fix this,
by remembering the the linted directive during the if statement parsing and
restoring it at the appropriate time.
1998-11-23 14:37:08 +00:00
..
lint1 Unfortunately lint uses c-style comments as directives and these get parsed 1998-11-23 14:37:08 +00:00
lint2 If the return value is sometimes discarded, output `sometimes ignored' rather 1998-07-28 05:12:00 +00:00
llib
xlint Eliminate memory leaks. 1998-10-08 08:20:37 +00:00
Makefile
Makefile.inc WARNSify 1998-02-22 15:40:39 +00:00