X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=src%2F5013003%2Fregcomp.c;h=4c601235d711e0ad93cb2d268a94e32430a22ffa;hb=9fc90d81cde4cbe8bff27adf3cc3624c86988f1a;hp=f2ff7b9e5c0569e14080dc2a95cdb74f02b89eeb;hpb=be51951333b8f0da55af1243a039e74bb15dedcd;p=perl%2Fmodules%2Fre-engine-Hooks.git diff --git a/src/5013003/regcomp.c b/src/5013003/regcomp.c index f2ff7b9..4c60123 100644 --- a/src/5013003/regcomp.c +++ b/src/5013003/regcomp.c @@ -2159,6 +2159,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 @@ -8648,7 +8649,7 @@ S_reg_node(pTHX_ RExC_state_t *pRExC_state, U8 op) NODE_ALIGN_FILL(ret); ptr = ret; FILL_ADVANCE_NODE(ptr, op); - REH_CALL_REGCOMP_HOOK(pRExC_state->rx, (ptr) - 1); + REH_CALL_COMP_NODE_HOOK(pRExC_state->rx, (ptr) - 1); #ifdef RE_TRACK_PATTERN_OFFSETS if (RExC_offsets) { /* MJD */ MJD_OFFSET_DEBUG(("%s:%d: (op %s) %s %"UVuf" (len %"UVuf") (max %"UVuf").\n", @@ -8704,7 +8705,7 @@ S_reganode(pTHX_ RExC_state_t *pRExC_state, U8 op, U32 arg) NODE_ALIGN_FILL(ret); ptr = ret; FILL_ADVANCE_NODE_ARG(ptr, op, arg); - REH_CALL_REGCOMP_HOOK(pRExC_state->rx, (ptr) - 2); + REH_CALL_COMP_NODE_HOOK(pRExC_state->rx, (ptr) - 2); #ifdef RE_TRACK_PATTERN_OFFSETS if (RExC_offsets) { /* MJD */ MJD_OFFSET_DEBUG(("%s(%d): (op %s) %s %"UVuf" <- %"UVuf" (max %"UVuf").\n", @@ -8821,7 +8822,7 @@ S_reginsert(pTHX_ RExC_state_t *pRExC_state, U8 op, regnode *opnd, U32 depth) #endif src = NEXTOPER(place); FILL_ADVANCE_NODE(place, op); - REH_CALL_REGCOMP_HOOK(pRExC_state->rx, (place) - 1); + REH_CALL_COMP_NODE_HOOK(pRExC_state->rx, (place) - 1); Zero(src, offset, regnode); }