Eliminate hints now correctly handled by Configure
[p5sagit/p5-mst-13.2.git] / cop.h
diff --git a/cop.h b/cop.h
index 88bed59..bea47c4 100644 (file)
--- a/cop.h
+++ b/cop.h
@@ -52,6 +52,9 @@ struct block_sub {
        }                                                               \
        if (cx->blk_sub.cv) {                                           \
            if (!(CvDEPTH(cx->blk_sub.cv) = cx->blk_sub.olddepth)) {    \
+               if (cx->blk_sub.hasargs) {                              \
+                   SvREFCNT_inc((SV*)cx->blk_sub.argarray);            \
+               }                                                       \
                SvREFCNT_dec((SV*)cx->blk_sub.cv);                      \
            }                                                           \
        }
@@ -180,6 +183,7 @@ struct subst {
     char *     sbu_m;
     char *     sbu_strend;
     char *     sbu_subbase;
+    REGEXP *   sbu_rx;
 };
 #define sb_iters       cx_u.cx_subst.sbu_iters
 #define sb_maxiters    cx_u.cx_subst.sbu_maxiters
@@ -193,6 +197,7 @@ struct subst {
 #define sb_m           cx_u.cx_subst.sbu_m
 #define sb_strend      cx_u.cx_subst.sbu_strend
 #define sb_subbase     cx_u.cx_subst.sbu_subbase
+#define sb_rx          cx_u.cx_subst.sbu_rx
 
 #define PUSHSUBST(cx) CXINC, cx = &cxstack[cxstack_ix],                        \
        cx->sb_iters            = iters,                                \
@@ -206,6 +211,7 @@ struct subst {
        cx->sb_s                = s,                                    \
        cx->sb_m                = m,                                    \
        cx->sb_strend           = strend,                               \
+       cx->sb_rx               = rx,                                   \
        cx->cx_type             = CXt_SUBST
 
 #define POPSUBST(cx) cxstack_ix--