diff options
author | David Mitchell <davem@iabyn.com> | 2011-02-06 15:08:34 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2011-02-06 18:57:16 +0000 |
commit | 2df5bdd700b8a6ef036aa5be19d4bda9e3ca20bc (patch) | |
tree | 9c1bd302a935d64146e4fefa91ba481c42e09acb /pad.h | |
parent | d1bfb649a8c4cc0b39b0fd6371c009b71c0b497f (diff) | |
download | perl-2df5bdd700b8a6ef036aa5be19d4bda9e3ca20bc.tar.gz |
rename PAD_MAX to PERL_PADSEQ_INTRO
and increase its scope to all the perl core rather than just pad.c.
The scope needs to increase because we'll need to use it in op.c shortly,
and the rename is because it's about to lose any significance as a
numerical value, and just become a magic number to be tested for equality.
Diffstat (limited to 'pad.h')
-rw-r--r-- | pad.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,12 @@ typedef U64TYPE PADOFFSET; #endif #define NOT_IN_PAD ((PADOFFSET) -1) +/* a value that PL_cop_seqmax is guaranteed never to be, + * flagging that a lexical is being introduced, or has not yet left scope + */ +#define PERL_PADSEQ_INTRO U32_MAX + + /* B.xs needs these for the benefit of B::Deparse */ /* Low range end is exclusive (valid from the cop seq after this one) */ /* High range end is inclusive (valid up to this cop seq) */ |