Subject: CVS commit: pkgsrc/pkgtools/pkglint/files
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 05/31/2006 06:35:55
Module Name:	pkgsrc
Committed By:	rillig
Date:		Wed May 31 06:35:55 UTC 2006

Modified Files:
	pkgsrc/pkgtools/pkglint/files: makevars.map pkglint.pl

Log Message:
The checks for variable use and correct quoting have been concentrated
into a single subroutine, checkline_mk_varuse, which replaces the
various ad-hoc checks. Added the class PkgLint::VarUseContext that tries
to model the context in which a make(1) variable can appear. The checks
are much better now than before, but there's still work to do. Added a
new type FileMode for file permissions.

Currently no warnings are printed for untyped variables (that is,
user-defined and not following the common naming schemes). This includes
the iteration variables of .for loops. Since many of the warnings have
been overly strict, this is not a big loss.


To generate a diff of this commit:
cvs rdiff -r1.96 -r1.97 pkgsrc/pkgtools/pkglint/files/makevars.map
cvs rdiff -r1.591 -r1.592 pkgsrc/pkgtools/pkglint/files/pkglint.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.