diff options
author | Karl Williamson <khw@cpan.org> | 2019-05-29 10:14:55 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-30 18:13:29 -0600 |
commit | e4aeb12f0611f53a3b2e82d7d97bc9ab2a094b55 (patch) | |
tree | 19f9d784257f82851390f4d922c73500c92d7606 /autodoc.pl | |
parent | 5af72e99e0ba32c4a77db5cfb6aeb236d7a8c384 (diff) | |
download | perl-e4aeb12f0611f53a3b2e82d7d97bc9ab2a094b55.tar.gz |
embed.fnc: Change M flag to x
The M flag in embed.fnc and the x flag in the '=for apidoc' lines both
mean the same, thing, the entity may change, it is experimental.
Devel::PPPort in places uses the M flag, and in other places, the x.
That will be fixed in a separate commit.
This commit changes the 'M' in embed.fnc to be 'x'. Changing embed.fnc
and makedef.pl keeps the changes more contained, and lessens the chance
that some module will be adversely affected (I didn't see anything
likely in grepping cpan).
Diffstat (limited to 'autodoc.pl')
-rw-r--r-- | autodoc.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autodoc.pl b/autodoc.pl index 05ea482d9c..3bcc94ae1a 100644 --- a/autodoc.pl +++ b/autodoc.pl @@ -129,7 +129,7 @@ DOC: my $embed_docref = delete $funcflags{$name}; if ($embed_docref and %$embed_docref) { $embed_where = $embed_docref->{flags} =~ /A/ ? 'api' : 'guts'; - $embed_may_change = $embed_docref->{flags} =~ /M/; + $embed_may_change = $embed_docref->{flags} =~ /x/; $flags .= 'D' if $embed_docref->{flags} =~ /D/; } else { $missing{$name} = $file; @@ -385,7 +385,7 @@ foreach (sort keys %missing) { # 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; +my @missing_api = grep $funcflags{$_}{flags} =~ /A/ && $funcflags{$_}{flags} !~ /[xD]/ && !$docs{api}{$_}, keys %funcflags; output('perlapi', <<'_EOB_', $docs{api}, \@missing_api, <<'_EOE_'); |=encoding UTF-8 | |