diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-04-19 13:18:20 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:56:07 -0600 |
commit | 29e828265b1f72ba4d731f515e4388f8467d65e8 (patch) | |
tree | 9ac36d9002d429c6a0e6106bb0a43886c6bef613 /regcomp.c | |
parent | 6a048a6eb9f08d4f03cb1e994cfb588d961be2ea (diff) | |
download | perl-29e828265b1f72ba4d731f515e4388f8467d65e8.tar.gz |
regcomp.c: Add missing (parens) to expression
A pair of parentheses were missing leading to this 'if' not acting as
intended.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13188,8 +13188,8 @@ parseit: * included. literal_endpoint==2 means both ends of the range used * a literal character, not \x{foo} */ if (literal_endpoint == 2 - && (prevvalue >= 'a' && value <= 'z') - || (prevvalue >= 'A' && value <= 'Z')) + && ((prevvalue >= 'a' && value <= 'z') + || (prevvalue >= 'A' && value <= 'Z'))) { _invlist_intersection(this_range, PL_ASCII, &this_range); |