Fix for PEM_X509_INFO_read_bio.
[openssl.git] / util / pod2man.pl
index 657e4e264e07dab613f489fe0601d86daec725ff..025d914f2e8be2f8deef2f3b1abd9166056be811 100755 (executable)
@@ -425,6 +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|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;