summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorFlorian Ragwitz <rafl@debian.org>2010-11-06 21:33:51 +0100
committerFlorian Ragwitz <rafl@debian.org>2010-11-06 21:34:27 +0100
commit523a494eb3412a908c247f751f623e722b0c2d40 (patch)
tree1e39ed913b11435c10d7d33806d398b2baba4621 /regexec.c
parentda0fccaa0e290c565d88bc542548280209bdb7bc (diff)
downloadperl-523a494eb3412a908c247f751f623e722b0c2d40.tar.gz
Fix a compiler warning
gcc said: regexec.c: In function ‘S_reginclass’: regexec.c:6305: warning: suggest parentheses around ‘&&’ within ‘||’
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 7e479a33c0..2f02dcf18c 100644
--- a/regexec.c
+++ b/regexec.c
@@ -6302,7 +6302,7 @@ S_reginclass(pTHX_ const regexp * const prog, register const regnode * const n,
/* If the bitmap didn't (or couldn't) match, and something outside the
* bitmap could match, try that */
- if (! match && utf8_target || (flags & ANYOF_UNICODE)) {
+ if ((!match && utf8_target) || (flags & ANYOF_UNICODE)) {
if (utf8_target && (flags & ANYOF_UNICODE_ALL) && c >= 256) {
match = TRUE;
}