summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-31 00:35:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-31 00:35:35 +0000
commit001dd6eafe700cce33b7751595203247724dc4ac (patch)
treef0c9c51c7879311de5ab78ae51d1b18456c734e0 /regexec.c
parent575cac5770bbbbb12334dc10c36bfd5db846bfb9 (diff)
downloadperl-001dd6eafe700cce33b7751595203247724dc4ac.tar.gz
gcc -Wall dewhine.
p4raw-id: //depot/perl@13968
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/regexec.c b/regexec.c
index 7f1298fb14..c932165941 100644
--- a/regexec.c
+++ b/regexec.c
@@ -986,10 +986,10 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
to_utf8_fold(tmpbuf, foldbuf, &foldlen);
f = utf8_to_uvchr(foldbuf, 0);
- if ( (c == c1 && ln == len) ||
- (f == c1 && ln == foldlen)
- || !ibcmp_utf8(s, do_utf8, (I32)(strend - s),
- m, UTF, (I32)ln)
+ if ( ((c == c1 && ln == len) ||
+ (f == c1 && ln == foldlen) ||
+ !ibcmp_utf8(s, do_utf8, (I32)(strend - s),
+ m, UTF, (I32)ln))
&& (norun || regtry(prog, s)) )
goto got_it;
s += len;
@@ -1005,10 +1005,10 @@ S_find_byclass(pTHX_ regexp * prog, regnode *c, char *s, char *strend, char *sta
if (c == (UV)UNICODE_GREEK_CAPITAL_LETTER_SIGMA ||
c == (UV)UNICODE_GREEK_SMALL_LETTER_FINAL_SIGMA)
c = (UV)UNICODE_GREEK_SMALL_LETTER_SIGMA;
- if ( ((c == c1 || c == c2) && ln == len) ||
- ((f == c1 || f == c2) && ln == foldlen)
- || !ibcmp_utf8(s, do_utf8, (I32)(strend - s),
- m, UTF, (I32)ln)
+ if ( (((c == c1 || c == c2) && ln == len) ||
+ ((f == c1 || f == c2) && ln == foldlen) ||
+ !ibcmp_utf8(s, do_utf8, (I32)(strend - s),
+ m, UTF, (I32)ln))
&& (norun || regtry(prog, s)) )
goto got_it;
s += len;