]> git.vpit.fr Git - perl/modules/re-engine-Hooks.git/blobdiff - src/5015004/regcomp.c
Fix infinite recursion with perl 5.17.[12]
[perl/modules/re-engine-Hooks.git] / src / 5015004 / regcomp.c
index 8bb7fd5a6b8b9a5cbb7699229fc8f0335fcb8988..d3b7a58903bf5f8d3f4c33e727ced8a6162ea769 100644 (file)
@@ -2321,6 +2321,7 @@ S_make_trie(pTHX_ RExC_state_t *pRExC_state, regnode *startbranch, regnode *firs
             Set_Node_Offset_Length(convert,mjd_offset,mjd_nodelen);
         });
     } /* end node insert */
+    REH_CALL_COMP_NODE_HOOK(pRExC_state->rx, convert);
 
     /*  Finish populating the prev field of the wordinfo array.  Walk back
      *  from each accept state until we find another accept state, and if
@@ -4482,7 +4483,7 @@ Perl_reginitcolors(pTHX)
 
 
 #ifndef PERL_IN_XSUB_RE
-#define RE_ENGINE_PTR &PL_core_reg_engine
+#define RE_ENGINE_PTR &reh_regexp_engine
 #else
 extern const struct regexp_engine my_reg_engine;
 #define RE_ENGINE_PTR &my_reg_engine