summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mdoclint
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-01-04 18:27:04 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-01-04 18:27:04 +0000
commit1d0b31ac5762af6e2a9a6bfb7a0b99e862ab6de7 (patch)
tree6b787561e05b0a9d6d8766352270b1be1bffa087 /regress/usr.bin/mdoclint
parent3ee13c1288d706178de815403e7582f2de59a39a (diff)
accept [0-9]lua as a valid section name (netbsd only);
from wiz@netbsd
Diffstat (limited to 'regress/usr.bin/mdoclint')
-rw-r--r--regress/usr.bin/mdoclint/mdoclint6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint
index fa84ef639ca..811873eba28 100644
--- a/regress/usr.bin/mdoclint/mdoclint
+++ b/regress/usr.bin/mdoclint/mdoclint
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: mdoclint,v 1.39 2013/09/30 18:27:17 jmc Exp $
+# $OpenBSD: mdoclint,v 1.40 2014/01/04 18:27:03 jmc Exp $
# $NetBSD: mdoclint,v 1.43 2013/09/30 09:36:45 wiz Exp $
#
# Copyright (c) 2001-2013 Thomas Klausner
@@ -219,8 +219,8 @@ my $valid_date_re;
$esections_re = qr{(?:3p|[0-9])}o;
}
if (NETBSD) {
- $sections_re = qr{[1-9]}o;
- $esections_re = qr{[0-9]}o;
+ $sections_re = qr{[1-9](?:lua)?}o;
+ $esections_re = qr{[0-9](?:lua)?}o;
}
if (OPENBSD) {
$valid_date_re = qr{\$Mdocdate\b};