Skip to content

Commit

Permalink
[gh 17847] Include data->pos_delta in #if'd-out diagnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
hvds authored and khwilliamson committed May 31, 2021
1 parent f728736 commit 756cf5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions regcomp.c
Expand Up @@ -5820,9 +5820,10 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp,
#if 0
Perl_re_printf( aTHX_ "counted=%" UVuf " deltanext=%" UVuf
" OPTIMIZE_INFTY=%" UVuf " minnext=%" UVuf
" maxcount=%" UVuf " mincount=%" UVuf "\n",
" maxcount=%" UVuf " mincount=%" UVuf
" data->pos_delta=%" UVuf "\n",
(UV)counted, (UV)deltanext, (UV)OPTIMIZE_INFTY, (UV)minnext, (UV)maxcount,
(UV)mincount);
(UV)mincount, (UV)data->pos_delta);
if (deltanext != OPTIMIZE_INFTY)
Perl_re_printf( aTHX_ "LHS=%" UVuf " RHS=%" UVuf "\n",
(UV)(-counted * deltanext + (minnext + deltanext) * maxcount
Expand Down

0 comments on commit 756cf5b

Please sign in to comment.