diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-12-28 11:27:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-12-28 11:27:10 +0000 |
commit | f19b4ba939a9fcdd83b091f4baa1c12b87ff9886 (patch) | |
tree | d96512388c624fafeefcbcb19a6841bca1e3a655 /dump.c | |
parent | 5c35adbb8fc4c988807097c4d379e2485ada5865 (diff) | |
download | perl-f19b4ba939a9fcdd83b091f4baa1c12b87ff9886.tar.gz |
Dump the REGEXP member of SVt_REGEXP.
p4raw-id: //depot/perl@32752
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1590,6 +1590,10 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo else Perl_dump_indent(aTHX_ level, file, " PV = 0\n"); } + if (type == SVt_REGEXP) { + Perl_dump_indent(aTHX_ level, file, " REGEXP = 0x%"UVxf"\n", + PTR2UV(((struct xregexp *)SvANY(sv))->xrx_regexp)); + } if (type >= SVt_PVMG) { if (type == SVt_PVMG && SvPAD_OUR(sv)) { HV * const ost = SvOURSTASH(sv); |