summaryrefslogtreecommitdiffstats
path: root/util/pod2man.pl
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-05 17:33:09 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-05 17:33:09 +0000
commitc079fde3f771a794791979993f54e6aacde07504 (patch)
treea20b31cf5d571120a79b59252840c6df96389411 /util/pod2man.pl
parent6e94156199ee852ec05eb2e0d6337b02e721a0c4 (diff)
PR: 2132
Submitted by: steve Fix bundled pod2man.pl to handle alternative comment formats.
Diffstat (limited to 'util/pod2man.pl')
-rwxr-xr-xutil/pod2man.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pod2man.pl b/util/pod2man.pl
index 546d1ec186..025d914f2e 100755
--- a/util/pod2man.pl
+++ b/util/pod2man.pl
@@ -425,7 +425,7 @@ if ($name ne 'something') {
}
next if /^=cut\b/; # DB_File and Net::Ping have =cut before NAME
next if /^=pod\b/; # It is OK to have =pod before NAME
- next if /^=for\s+comment\b/; # It is OK to have =for comment before NAME
+ next if /^=(for|begin|end)\s+comment\b/; # It is OK to have =for =begin or =end comment before NAME
die "$0: Invalid man page - 1st pod line is not NAME in $ARGV[0]\n" unless $lax;
}
die "$0: Invalid man page - no documentation in $ARGV[0]\n" unless $lax;