summaryrefslogtreecommitdiff
path: root/autodoc.pl
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2022-02-04 18:18:08 +0100
committerKarl Williamson <khw@cpan.org>2022-02-04 12:15:32 -0700
commited18bf14c1a8429f1652c50634d0648d34bcfabd (patch)
tree3dbc0d0f5919ce75e804393aa37a318248a2d71f /autodoc.pl
parent607f3ee60e8f8423d6789cc1e988289aa8b2515e (diff)
downloadperl-ed18bf14c1a8429f1652c50634d0648d34bcfabd.tar.gz
make autodoc.pl and makedef.pl understand the I embed.fnc flag
It's needed in case a publicly visible PERL_STATIC_FORCE_INLINE function is added.
Diffstat (limited to 'autodoc.pl')
-rw-r--r--autodoc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/autodoc.pl b/autodoc.pl
index b5bfc74566..e65e36d5c8 100644
--- a/autodoc.pl
+++ b/autodoc.pl
@@ -504,7 +504,7 @@ sub autodoc ($$) { # parse a file and extract documentation info
}
die "flag '$1' is not legal (for function $element_name (from $file))"
- if $flags =~ / ( [^AabCDdEeFfGhiMmNnTOoPpRrSsUuWXxy] ) /x;
+ if $flags =~ / ( [^AabCDdEeFfGhiIMmNnTOoPpRrSsUuWXxy] ) /x;
die "'u' flag must also have 'm' or 'y' flags' for $element_name"
if $flags =~ /u/ && $flags !~ /[my]/;