summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-12-28 11:27:10 +0000
committerNicholas Clark <nick@ccl4.org>2007-12-28 11:27:10 +0000
commitf19b4ba939a9fcdd83b091f4baa1c12b87ff9886 (patch)
treed96512388c624fafeefcbcb19a6841bca1e3a655 /dump.c
parent5c35adbb8fc4c988807097c4d379e2485ada5865 (diff)
downloadperl-f19b4ba939a9fcdd83b091f4baa1c12b87ff9886.tar.gz
Dump the REGEXP member of SVt_REGEXP.
p4raw-id: //depot/perl@32752
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index 42cacb81a9..47a5285b3d 100644
--- a/dump.c
+++ b/dump.c
@@ -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);