summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-09-27 14:50:25 +0100
committerDavid Mitchell <davem@iabyn.com>2016-09-27 15:57:44 +0100
commit9420b26806fca1f75d38f570e455d294af1c2fb6 (patch)
tree2dcea506c5c560668bb51ec4394c183c8294666f /pad.c
parent516cc7b3d537f089e725ceeb304dfb07583e516e (diff)
downloadperl-9420b26806fca1f75d38f570e455d294af1c2fb6.tar.gz
Eliminate xpad_cop_seq from _xnvu union
PVNV's used to be used to hold pad names (like '$lex'), but aren't used for this purpose any more. So eliminate the xpad_cop_seq part of the union. Since S_scan_subst() was using xnv_u.xpad_cop_seq.xlow to store a temporary line count, add a new union member for that. The main usage of this field on CPAN is to define COP_SEQ_RANGE_LOW()-style macros, so if the module is still using xpad_cop_seq for that purpose, it's already broken.
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pad.c b/pad.c
index bcbf95bb86..e810ccd056 100644
--- a/pad.c
+++ b/pad.c
@@ -1066,8 +1066,8 @@ associated with the C<PARENT_FAKELEX_FLAGS> field of a fake pad name.
Note that C<pad_findlex()> is recursive; it recurses up the chain of CVs,
then comes back down, adding fake entries
as it goes. It has to be this way
-because fake names in anon protoypes have to store in C<xlow> the index into
-the parent pad.
+because fake names in anon protoypes have to store in C<xpadn_low> the
+index into the parent pad.
=cut
*/