From: Vincent Pit Date: Sun, 31 Aug 2008 09:34:11 +0000 (+0200) Subject: Now the old check function is always called before storing an op into the map X-Git-Tag: v0.05~4 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=243292e1cc67ea36d0b7b5ca4b727ddf86e57a51;p=perl%2Fmodules%2Findirect.git Now the old check function is always called before storing an op into the map --- diff --git a/indirect.xs b/indirect.xs index cd118b1..e8250f1 100644 --- a/indirect.xs +++ b/indirect.xs @@ -151,7 +151,9 @@ STATIC OP *indirect_ck_rv2sv(pTHX_ OP *o) { if (SvPOK(name) && (SvTYPE(name) >= SVt_PV)) { SV *sv = sv_2mortal(newSVpvn("$", 1)); sv_catsv(sv, name); + o = CALL_FPTR(indirect_old_ck_rv2sv)(aTHX_ o); indirect_map_store(o, indirect_find(sv, PL_parser->oldbufptr), sv); + return o; } }