summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files/PkgLint/Line.pm
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkglint/files/PkgLint/Line.pm')
-rw-r--r--pkgtools/pkglint/files/PkgLint/Line.pm11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgtools/pkglint/files/PkgLint/Line.pm b/pkgtools/pkglint/files/PkgLint/Line.pm
index 6f22821e954..bd4e6cb427b 100644
--- a/pkgtools/pkglint/files/PkgLint/Line.pm
+++ b/pkgtools/pkglint/files/PkgLint/Line.pm
@@ -1,4 +1,5 @@
-#==========================================================================
+# $NetBSD: Line.pm,v 1.4 2015/10/11 21:06:20 rillig Exp $
+#
# When files are read in by pkglint, they are interpreted in terms of
# lines. For Makefiles, line continuations are handled properly, allowing
# multiple physical lines to end in a single logical line. For other files
@@ -18,9 +19,11 @@
#
# A line can have some "extra" fields that allow the results of parsing to
# be saved under a name.
-#==========================================================================
+#
package PkgLint::Line;
+use strict;
+
BEGIN {
import PkgLint::Util qw(
false true
@@ -211,7 +214,3 @@ sub set_text($$) {
$self->[PHYSLINES] = [[0, "$text\n"]];
$self->[CHANGED] = true;
}
-
-#== End of PkgLint::Line ==================================================
-
-1;