diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-31 00:35:35 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-31 00:35:35 +0000 |
commit | 001dd6eafe700cce33b7751595203247724dc4ac (patch) | |
tree | f0c9c51c7879311de5ab78ae51d1b18456c734e0 /regexec.c | |
parent | 575cac5770bbbbb12334dc10c36bfd5db846bfb9 (diff) | |
download | perl-001dd6eafe700cce33b7751595203247724dc4ac.tar.gz |
gcc -Wall dewhine.
p4raw-id: //depot/perl@13968
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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; |