diff options
author | Karl Williamson <khw@cpan.org> | 2019-05-29 15:50:45 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-30 18:13:29 -0600 |
commit | 8b5ff1772f001e0c74deba87357786064655fa3a (patch) | |
tree | 67b6b189c52ac074b9f9315ae8eedef3589fcd15 /scope.h | |
parent | d7cc320995afaaf4d9c90b37e578f1fe79068198 (diff) | |
download | perl-8b5ff1772f001e0c74deba87357786064655fa3a.tar.gz |
autodoc.pl: Make 's' flag independent of 'n'
The 's' flag is used by autodoc.pl to add a semi-colon to the end of a
usage example. This commit allows that to happen even if the macro has
parameters.
This allows two macros in scope.c to be properly documented. Previously
they weren't, and caused warnings in Devel::PPPort as a result.
This commit adds documentation to embed.fnc for the 's' flag, which has
long existed, undocumented.
Diffstat (limited to 'scope.h')
-rw-r--r-- | scope.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -167,12 +167,12 @@ Opening bracket on a callback. See C<L</LEAVE>> and L<perlcall>. =for apidoc Amns||LEAVE Closing bracket on a callback. See C<L</ENTER>> and L<perlcall>. -=for apidoc Ams||ENTER_with_name(name) +=for apidoc Ams||ENTER_with_name|const char * name Same as C<L</ENTER>>, but when debugging is enabled it also associates the given literal string with the new scope. -=for apidoc Ams||LEAVE_with_name(name) +=for apidoc Ams||LEAVE_with_name|const char * name Same as C<L</LEAVE>>, but when debugging is enabled it first checks that the scope has the given name. C<name> must be a literal string. |