summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-04-30 08:42:08 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 11:01:50 -0600
commit8c869419331313c43ddda5b1eecd01939b013125 (patch)
tree7643c116580b481835d6303646cda53df55bd442 /autodoc.pl
parentd4e99c76278c7e400307b1a7ceeb3b27676dfd3d (diff)
downloadperl-8c869419331313c43ddda5b1eecd01939b013125.tar.gz
autodoc.pl: Don't list undocumented deprecated fcns in API
autodoc creates a list of all the undocumented functions that are part of the API. It omits ones that are experimental and whose API may change; and now it omits ones that are deprecated (and whose API is planned to change to be non-existent)
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/autodoc.pl b/autodoc.pl
index 7f60443cd7..6fea97094f 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -382,8 +382,9 @@ foreach (sort keys %missing) {
# walk table providing an array of components in each line to
# subroutine, printing the result
-# List of funcs in the public API that aren't also marked as experimental.
-my @missing_api = grep $funcflags{$_}{flags} =~ /A/ && $funcflags{$_}{flags} !~ /M/ && !$docs{api}{$_}, keys %funcflags;
+# List of funcs in the public API that aren't also marked as experimental nor
+# deprecated.
+my @missing_api = grep $funcflags{$_}{flags} =~ /A/ && $funcflags{$_}{flags} !~ /[MD]/ && !$docs{api}{$_}, keys %funcflags;
output('perlapi', <<'_EOB_', $docs{api}, \@missing_api, <<'_EOE_');
=head1 NAME