From 6aeaca273d90ffa696c08178f9f9ccd259b44760 Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Mon, 14 Mar 2016 18:10:19 +0100 Subject: fixup broken diagnostic we shouldnt show this in normal re debug mode, just when debugging the stack, also the macro wasnt using the STR argument like it should --- regexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index 6c5f8a614b..dca9b4f07d 100644 --- a/regexec.c +++ b/regexec.c @@ -6868,8 +6868,8 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) #define SET_RECURSE_LOCINPUT(STR,VAL)\ if ( cur_eval && CUR_EVAL.close_paren ) {\ - DEBUG_EXECUTE_r({ \ - Perl_re_exec_indentf( aTHX_ "EVAL_AB[before] GOSUB%d ce=%p recurse_locinput=%p\n",\ + DEBUG_STACK_r({ \ + Perl_re_exec_indentf( aTHX_ STR " GOSUB%d ce=%p recurse_locinput=%p\n",\ depth, \ CUR_EVAL.close_paren - 1,\ cur_eval, \ -- cgit v1.2.1