summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-12 15:37:02 -0600
committerKarl Williamson <khw@cpan.org>2022-05-14 20:29:03 -0600
commit06ecdb436a183d36cbd5fc2737f692da571f104e (patch)
tree8947d5584e7bdf776813c1608167eb8212594873 /scope.c
parent042c826b661ee2bcfe869118a756b72aec2c82bd (diff)
downloadperl-06ecdb436a183d36cbd5fc2737f692da571f104e.tar.gz
perlapi: Add markup for save_gp
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scope.c b/scope.c
index e902f4c852..3555218a0f 100644
--- a/scope.c
+++ b/scope.c
@@ -379,10 +379,10 @@ Perl_save_set_svflags(pTHX_ SV* sv, U32 mask, U32 val)
Saves the current GP of gv on the save stack to be restored on scope exit.
-If empty is true, replace the GP with a new GP.
+If C<empty> is true, replace the GP with a new GP.
-If empty is false, mark gv with GVf_INTRO so the next reference
-assigned is localized, which is how C< local *foo = $someref; > works.
+If C<empty> is false, mark C<gv> with C<GVf_INTRO. so the next reference
+assigned is localized, which is how S<C< local *foo = $someref; >> works.
=cut
*/