summaryrefslogtreecommitdiff
path: root/regcomp.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 /regcomp.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 'regcomp.c')
-rw-r--r--regcomp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index bdbd643204..3fc298fc5a 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2834,10 +2834,11 @@ S_regclassutf8(pTHX)
if (range) {
if (lastvalue > value)
FAIL("invalid [] range in regexp");
- if (!SIZE_ONLY)
#ifdef UV_IS_QUAD
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04" PERL_PRIx64 "\t%04" PERL_PRIx64 "\n", (UV)lastvalue, (UV)value);
#else
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04x\t%04x\n", lastvalue, value);
#endif
lastvalue = value;
@@ -2851,10 +2852,11 @@ S_regclassutf8(pTHX)
range = 1;
continue; /* do it next time */
}
- if (!SIZE_ONLY)
#ifdef UV_IS_QUAD
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04" PERL_PRIx64 "\n", (UV)value);
#else
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04x\n", value);
#endif
}