summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-05-28 22:02:57 -0600
committerKarl Williamson <khw@cpan.org>2019-05-30 18:13:29 -0600
commit5af72e99e0ba32c4a77db5cfb6aeb236d7a8c384 (patch)
tree178c7bffdcfe234fe92ede12e1a47a73a6df914e /makedef.pl
parent9f589e47256c6bacb4cf6d59d0f1116e6a425b3e (diff)
downloadperl-5af72e99e0ba32c4a77db5cfb6aeb236d7a8c384.tar.gz
embed.fnc: Change x flag to e
autodoc.pl has the x flag in the '=for apidoc' lines mean something completely different, but Devel::PPPort combines both these lines and the contents of embed.fnc into one file, expecting the flags to be consistent. This commit changes the 'x' in embed.fnc to be 'e', which means to not export this function. 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 'makedef.pl')
-rw-r--r--makedef.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/makedef.pl b/makedef.pl
index 42436c71ea..d7c32c7348 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -752,7 +752,7 @@ unless ($define{'USE_QUADMATH'}) {
{
my %seen;
my ($embed) = setup_embed($ARGS{TARG_DIR});
- my $excludedre = $define{'NO_MATHOMS'} ? qr/[xmib]/ : qr/[xmi]/;
+ my $excludedre = $define{'NO_MATHOMS'} ? qr/[emib]/ : qr/[emi]/;
foreach (@$embed) {
my ($flags, $retval, $func, @args) = @$_;