diff options
author | David Mitchell <davem@iabyn.com> | 2016-09-27 14:50:25 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2016-09-27 15:57:44 +0100 |
commit | 9420b26806fca1f75d38f570e455d294af1c2fb6 (patch) | |
tree | 2dcea506c5c560668bb51ec4394c183c8294666f /sv.h | |
parent | 516cc7b3d537f089e725ceeb304dfb07583e516e (diff) | |
download | perl-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 'sv.h')
-rw-r--r-- | sv.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -487,10 +487,7 @@ perform the upgrade if necessary. See C<L</svtype>>. union _xnvu { NV xnv_nv; /* numeric value, if any */ HV * xgv_stash; - struct { - U32 xlow; - U32 xhigh; - } xpad_cop_seq; /* used by pad.c for cop_sequence */ + line_t xnv_lines; /* used internally by S_scan_subst() */ }; union _xivu { |