summaryrefslogtreecommitdiff
path: root/invlist_inline.h
diff options
context:
space:
mode:
Diffstat (limited to 'invlist_inline.h')
-rw-r--r--invlist_inline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/invlist_inline.h b/invlist_inline.h
index 76d6dda998..33f8aee385 100644
--- a/invlist_inline.h
+++ b/invlist_inline.h
@@ -14,7 +14,8 @@
|| defined(PERL_IN_REGEXEC_C) \
|| defined(PERL_IN_TOKE_C) \
|| defined(PERL_IN_PP_C) \
- || defined(PERL_IN_OP_C)
+ || defined(PERL_IN_OP_C) \
+ || defined(PERL_IN_DOOP_C)
/* An element is in an inversion list iff its index is even numbered: 0, 2, 4,
* etc */
@@ -92,7 +93,7 @@ S_invlist_array(SV* const invlist)
}
#endif
-#if defined(PERL_IN_REGCOMP_C)
+#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_DOOP_C)
PERL_STATIC_INLINE void
S_invlist_extend(pTHX_ SV* const invlist, const UV new_max)