summaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-10-12 18:27:26 -0600
committerKarl Williamson <khw@cpan.org>2016-10-12 19:22:47 -0600
commitef7ea7adea12b6588505816360b213a22231e87e (patch)
treeaabd7cf9f1375a6fa56aac4e03f36a4838592cab /scope.h
parent8c805412635e3f5401139836431a9f9328eb75f5 (diff)
downloadperl-ef7ea7adea12b6588505816360b213a22231e87e.tar.gz
perlapi: Fix docs for 2 scope related macros
These 2 macros were using =item instead of =for apidoc, so they silently were not included in perlapi. This commit also changes their references to links.
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/scope.h b/scope.h
index ad276a94a7..88c182dc03 100644
--- a/scope.h
+++ b/scope.h
@@ -167,20 +167,16 @@ Opening bracket on a callback. See C<L</LEAVE>> and L<perlcall>.
=for apidoc Ams||LEAVE
Closing bracket on a callback. See C<L</ENTER>> and L<perlcall>.
-=over
+=for apidoc Ams||ENTER_with_name(name)
-=item ENTER_with_name(name)
-
-Same as C<ENTER>, but when debugging is enabled it also associates the
+Same as C<L</ENTER>>, but when debugging is enabled it also associates the
given literal string with the new scope.
-=item LEAVE_with_name(name)
+=for apidoc Ams||LEAVE_with_name(name)
-Same as C<LEAVE>, but when debugging is enabled it first checks that the
+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 C<NUL>-terminated literal string.
-=back
-
=cut
*/