Skip to content

Commit

Permalink
Pullup ticket #5394 - requested by sevan
Browse files Browse the repository at this point in the history
textproc/mdoclint: bugfix

Revisions pulled up:
- textproc/mdoclint/files/mdoclint                              1.67

---
   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.
  • Loading branch information
bsiegert committed May 6, 2017
1 parent ca9f825 commit 77a502e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions textproc/mdoclint/files/mdoclint
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!@PERL5@
#
# $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
# $NetBSD: mdoclint,v 1.64 2017/01/25 09:17:06 wiz Exp $
# $NetBSD: mdoclint,v 1.64.2.1 2017/05/06 15:12:53 bsiegert Exp $
#
# Copyright (c) 2001-2017 Thomas Klausner
# All rights reserved.
Expand Down Expand Up @@ -610,7 +610,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) {
Expand Down

0 comments on commit 77a502e

Please sign in to comment.