SvUTF8_on(sv);
SvSETMAGIC(sv);
}
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %" IVdf "\n",
+ DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %zu\n",
__FILE__, __LINE__, matches));
DEBUG_y(sv_dump(sv));
return matches;
}
}
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: count returning %" IVdf "\n",
+ DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: count returning %zu\n",
__FILE__, __LINE__, matches));
return matches;
}
SvUTF8_on(sv);
}
SvSETMAGIC(sv);
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %" IVdf "\n",
+ DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %zu\n",
__FILE__, __LINE__, matches));
DEBUG_y(sv_dump(sv));
return matches;
s += s_len;
}
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %" IVdf "\n",
+ DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %zu\n",
__FILE__, __LINE__, matches));
return matches;
}
}
SvSETMAGIC(sv);
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %" IVdf "\n",
+ DEBUG_y(PerlIO_printf(Perl_debug_log, "%s: %d: returning %zu\n",
__FILE__, __LINE__, matches));
DEBUG_y(sv_dump(sv));
return matches;
SV * inverted_tlist = _new_invlist(tlen);
Size_t temp_len;
- DEBUG_y(PerlIO_printf(Perl_debug_log, "%d: tstr=%s\n",
- __LINE__, _byte_dump_string(t, tend - t, 0)));
- DEBUG_y(PerlIO_printf(Perl_debug_log, "rstr=%s\n",
- _byte_dump_string(r, rend - r, 0)));
+ DEBUG_y(PerlIO_printf(Perl_debug_log,
+ "%s: %d: tstr before inversion=\n%s\n",
+ __FILE__, __LINE__, _byte_dump_string(t, tend - t, 0)));
while (t < tend) {
/* The inversion list is done; now invert it */
_invlist_invert(inverted_tlist);
- DEBUG_y(sv_dump(inverted_tlist));
/* Now go through the inverted list and create a new tstr for the rest
* of the routine to use. Since the UTF-8 version can have ranges, and
r_map[i+2] = TR_UNLISTED;
}
DEBUG_yv(PerlIO_printf(Perl_debug_log,
- "After iteration: span=%" IVdf ", t_range_count=%"
- IVdf ", r_range_count=%" IVdf "\n",
- span, t_range_count, r_range_count));
+ "After iteration: span=%" UVuf ", t_range_count=%"
+ UVuf " r_range_count=%" UVuf "\n",
+ span, t_range_count, r_range_count));
DEBUG_yv(invmap_dump(t_invlist, r_map));
} /* End of this chunk needs to be processed */
}
+ DEBUG_y(PerlIO_printf(Perl_debug_log,
+ "/d=%d, /s=%d, /c=%d, identical=%d, grows=%d,"
+ " use_svop=%d, can_force_utf8=%d,\nexpansion=%g\n",
+ del, squash, complement,
+ cBOOL(o->op_private & OPpTRANS_IDENTICAL),
+ cBOOL(o->op_private & OPpTRANS_USE_SVOP),
+ cBOOL(o->op_private & OPpTRANS_GROWS),
+ cBOOL(o->op_private & OPpTRANS_CAN_FORCE_UTF8),
+ max_expansion));
+
Safefree(r_map);
if(del && rlen != 0 && r_count == t_count) {