pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - Renamed PkgLint::FileUtil::Li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fa2d254c53c2
branches: trunk
changeset: 506045:fa2d254c53c2
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Jan 11 04:29:12 2006 +0000
description:
- Renamed PkgLint::FileUtil::Line to PkgLint::Line in preparation to some
upcoming changes.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (46 lines):
diff -r 4848fbb13211 -r fa2d254c53c2 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Jan 11 03:15:15 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Jan 11 04:29:12 2006 +0000
@@ -1,5 +1,5 @@
#! @PERL@ -w
-# $NetBSD: pkglint.pl,v 1.460 2006/01/09 23:14:45 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.461 2006/01/11 04:29:12 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -280,7 +280,7 @@
#== End of PkgLint::Logging ===============================================
-package PkgLint::FileUtil::Line;
+package PkgLint::Line;
#==========================================================================
# When files are read in by pkglint, they are interpreted in terms of
# lines. For Makefiles, line continuations are handled properly, allowing
@@ -431,7 +431,7 @@
$self->[CHANGED] = true;
}
-#== End of PkgLint::FileUtil::Line ========================================
+#== End of PkgLint::Line ==================================================
package PkgLint::FileUtil;
#==========================================================================
@@ -517,7 +517,7 @@
$lastlineno = $lines->[$lineno]->[0];
${$ref_lineno} = $lineno + 1;
- return PkgLint::FileUtil::Line->new($fname,
+ return PkgLint::Line->new($fname,
$firstlineno == $lastlineno
? $firstlineno
: "$firstlineno--$lastlineno",
@@ -545,7 +545,7 @@
my $text = $physline->[1];
$text =~ s/\n$//;
- push(@{$loglines}, PkgLint::FileUtil::Line->new($fname, $physline->[0], $text, [$physline]));
+ push(@{$loglines}, PkgLint::Line->new($fname, $physline->[0], $text, [$physline]));
}
}
Home |
Main Index |
Thread Index |
Old Index