summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-02 12:53:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-02 12:53:10 +0000
commitb9c39e7333cadd99fd23059be7fbd6399d58fec4 (patch)
treefc5db9dccbd5d20e638897557dd001ec78ced868 /dump.c
parent88c07c3641c0fb59ded524dfdcea26f44c3acd38 (diff)
downloadperl-b9c39e7333cadd99fd23059be7fbd6399d58fec4.tar.gz
Fix some of the {IV_IS_QUAD,UV_IS_QUAD} cases so that
emacs code indentation doesn't get wrong ideas-- in other words, introduce a couple of "redundant" if:s. p4raw-id: //depot/cfgperl@3887
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index f49c8c2509..8735db3f0b 100644
--- a/dump.c
+++ b/dump.c
@@ -1188,8 +1188,8 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
I32 ix;
for (ix = 1; ix <= AvFILL(pad_name); ix++) {
- if (SvPOK(pname[ix]))
#ifdef IV_IS_QUAD
+ if (SvPOK(pname[ix]))
Perl_dump_indent(aTHX_ level, /* %5d below is enough whitespace. */
file,
"%5d. 0x%" PERL_PRIx64 " (%s\"%s\" %" PERL_PRId64 "-%" PERL_PRId64 ")\n",
@@ -1199,6 +1199,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
(IV)SvNVX(pname[ix]),
(IV)SvIVX(pname[ix]));
#else
+ if (SvPOK(pname[ix]))
Perl_dump_indent(aTHX_ level, /* %5d below is enough whitespace. */
file,
"%5d. 0x%lx (%s\"%s\" %ld-%ld)\n",