[licensecheck] 25/112: Clean m4 dnl comment marker.

Jonas Smedegaard dr at jones.dk
Fri Nov 25 22:01:45 UTC 2016


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit 7c2b2c1e464b0322523aac1ef6919f252dfc34e8
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Oct 6 23:39:48 2016 +0200

    Clean m4 dnl comment marker.
---
 lib/App/Licensecheck.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index bbf3c8f..1124a01 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -335,7 +335,7 @@ sub clean_comments
 	# Remove generic comments: look for 4 or more lines beginning with
 	# regular comment pattern and trim it. Fall back to old algorithm
 	# if no such pattern found.
-	my @matches = m/^\s*((?:[^a-zA-Z0-9\s]{1,3}|\bREM\b))\s\w/mg;
+	my @matches = m/^\s*((?:[^a-zA-Z0-9\s]{1,3}|\bdnl\b|\bREM\b))\s\w/mg;
 	if ( @matches >= 4 ) {
 		my $comment_re = qr/\s*[\Q$matches[0]\E]{1,3}\s*/;
 		s/^$comment_re//mg;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git



More information about the Pkg-perl-cvs-commits mailing list