diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-01-05 17:33:20 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-01-05 17:33:20 +0000 |
commit | 309aa5fbf3d8654e31a56f6d58da41f1ed4cdd94 (patch) | |
tree | fc17009759a72dc5858df473c97007d01d2ce8a0 /util | |
parent | 5f409487146a78c4e5619dcb2587a1d9c824f875 (diff) |
PR: 2132
Submitted by: steve
Fix bundled pod2man.pl to handle alternative comment formats.
Diffstat (limited to 'util')
-rwxr-xr-x | util/pod2man.pl | 2 |
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; |