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
commit6f8cf58e7f4ee44a7209fc3488efb1cc7662a4ed (patch)
treefc5db9dccbd5d20e638897557dd001ec78ced868 /dump.c
parent043e57420b58a41f75d681e41ed0d7202362f326 (diff)
downloadperl-6f8cf58e7f4ee44a7209fc3488efb1cc7662a4ed.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",