summaryrefslogtreecommitdiff
path: root/pad.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-15 10:09:24 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-15 10:59:13 -0800
commit953c8b803c4f6f9b009938456f308e41848dbeb6 (patch)
tree4cb9560439ee18f8361e04e20d0727988d2eb4b8 /pad.h
parentd88d1fe0d14de0ef0ec01efc190c3a77e59a1459 (diff)
downloadperl-953c8b803c4f6f9b009938456f308e41848dbeb6.tar.gz
Put PL_cop_seqmax++ code in one spot
Diffstat (limited to 'pad.h')
-rw-r--r--pad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pad.h b/pad.h
index 3ca79d342a..0e29b10d90 100644
--- a/pad.h
+++ b/pad.h
@@ -39,6 +39,9 @@ struct padlist {
* flagging that a lexical is being introduced, or has not yet left scope
*/
#define PERL_PADSEQ_INTRO U32_MAX
+#define COP_SEQMAX_INC \
+ (PL_cop_seqmax++, \
+ (void)(PL_cop_seqmax == PERL_PADSEQ_INTRO && PL_cop_seqmax++))
/* B.xs needs these for the benefit of B::Deparse */