pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mdoclint/files Bug fix from Ingo Schwarze: al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25855c86d7aa
branches:  trunk
changeset: 362006:25855c86d7aa
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue May 02 13:53:14 2017 +0000

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

diffstat:

 textproc/mdoclint/files/mdoclint |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c75d5d0b3b10 -r 25855c86d7aa textproc/mdoclint/files/mdoclint
--- a/textproc/mdoclint/files/mdoclint  Tue May 02 13:37:30 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint  Tue May 02 13:53:14 2017 +0000
@@ -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 @@
                $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