diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-11-06 21:33:51 +0100 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-11-06 21:34:27 +0100 |
commit | 523a494eb3412a908c247f751f623e722b0c2d40 (patch) | |
tree | 1e39ed913b11435c10d7d33806d398b2baba4621 /regexec.c | |
parent | da0fccaa0e290c565d88bc542548280209bdb7bc (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |