diff options
author | rillig <rillig@pkgsrc.org> | 2006-01-28 11:19:07 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-01-28 11:19:07 +0000 |
commit | 6282c394968225f987bbfbecaabaeb7e72d44481 (patch) | |
tree | d2d551051c19d4aa75d6baa53e9af7a5b04cd817 /pkgtools | |
parent | 20511917c537411dce366ee758424c68b6b4d84b (diff) | |
download | pkgsrc-6282c394968225f987bbfbecaabaeb7e72d44481.tar.gz |
- Added a comment above get_regex_plurals, explaining what it does.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 5e5f50db84d..ca16d22d14c 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.493 2006/01/28 11:18:17 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.494 2006/01/28 11:19:07 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -1344,6 +1344,12 @@ sub parse_command_line() { # Caching subroutines. # +# The get_regex_plurals() function returns a regular expression that +# matches for all make(1) variable names that are considered lists +# of something. +# +# Rationale: +# # The pkglint author thinks that variables containing lists of things # should have a name indicating some plural form. Sadly, there are other # reasons like backwards compatibility and other developer's |