pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Added a comment above get_reg...
details: https://anonhg.NetBSD.org/pkgsrc/rev/607a99a191bb
branches: trunk
changeset: 507183:607a99a191bb
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jan 28 11:19:07 2006 +0000
description:
- Added a comment above get_regex_plurals, explaining what it does.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 06fb68566142 -r 607a99a191bb pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Jan 28 11:18:17 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Jan 28 11:19:07 2006 +0000
@@ -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 @@
# 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
Home |
Main Index |
Thread Index |
Old Index