summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-14 11:02:30 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-14 11:05:06 +0100
commit3ab0c9fa54624be5755cc8455627b6b85054a056 (patch)
tree3b8282913b0e7485d185e751d950bcf36415d827 /dump.c
parent95d988dfcbe64bbb503b8f5e35a9f6ab46971e30 (diff)
downloadperl-3ab0c9fa54624be5755cc8455627b6b85054a056.tar.gz
Fix the build for -Dmad - f0e3f042f14b829f missed a couple of things.
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/dump.c b/dump.c
index 497049a422..f5f42ee1aa 100644
--- a/dump.c
+++ b/dump.c
@@ -2222,7 +2222,7 @@ Perl_xmldump_all_perl(pTHX_ bool justperl)
PerlIO_setlinebuf(PL_xmlfp);
if (PL_main_root)
op_xmldump(PL_main_root);
- xmldump_packsubs_perl(PL_defstash, justperl)
+ xmldump_packsubs_perl(PL_defstash, justperl);
if (PL_xmlfp != (PerlIO*)PerlIO_stdout())
PerlIO_close(PL_xmlfp);
PL_xmlfp = 0;
@@ -2231,6 +2231,12 @@ Perl_xmldump_all_perl(pTHX_ bool justperl)
void
Perl_xmldump_packsubs(pTHX_ const HV *stash)
{
+ xmldump_packsubs_perl(stash, FALSE);
+}
+
+void
+Perl_xmldump_packsubs_perl(pTHX_ const HV *stash, bool justperl)
+{
I32 i;
HE *entry;
@@ -2245,12 +2251,12 @@ Perl_xmldump_packsubs(pTHX_ const HV *stash)
if (SvTYPE(gv) != SVt_PVGV || !GvGP(gv))
continue;
if (GvCVu(gv))
- xmldump_sub(gv);
+ xmldump_sub_perl(gv, justperl);
if (GvFORM(gv))
xmldump_form(gv);
if (HeKEY(entry)[HeKLEN(entry)-1] == ':'
&& (hv = GvHV(gv)) && hv != PL_defstash)
- xmldump_packsubs(hv); /* nested package */
+ xmldump_packsubs_perl(hv, justperl); /* nested package */
}
}
}