pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/mdoclint/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue May  2 13:53:14 UTC 2017

Modified Files:
        pkgsrc/textproc/mdoclint/files: mdoclint

Log Message:
Bug fix from Ingo Schwarze: also look for empty lines in unfilled blocks.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/textproc/mdoclint/files/mdoclint

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/mdoclint/files/mdoclint
diff -u pkgsrc/textproc/mdoclint/files/mdoclint:1.66 pkgsrc/textproc/mdoclint/files/mdoclint:1.67
--- pkgsrc/textproc/mdoclint/files/mdoclint:1.66        Fri Apr 28 13:43:57 2017
+++ pkgsrc/textproc/mdoclint/files/mdoclint     Tue May  2 13:53:14 2017
@@ -1,7 +1,7 @@
 #!@PERL5@
 #
 # $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
-# $NetBSD: mdoclint,v 1.66 2017/04/28 13:43:57 wiz Exp $
+# $NetBSD: mdoclint,v 1.67 2017/05/02 13:53:14 wiz Exp $
 #
 # Copyright (c) 2001-2017 Thomas Klausner
 # All rights reserved.
@@ -606,7 +606,7 @@ sub process_line
                $s->warning("Invalid date found: `$_'") if $opt_d;
        }
 
-       if (/^\.Bd\b.*-literal\b/o) {
+       if (/^\.Bd\b.*-(?:literal|unfilled)\b/o) {
                $s->{inliteral} = 1;
        }
        if ($s->{inliteral} == 1) {



Home | Main Index | Thread Index | Old Index