summaryrefslogtreecommitdiff
path: root/utf8.h
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2012-05-22 10:40:55 +0100
committerDavid Mitchell <davem@iabyn.com>2012-06-13 13:32:53 +0100
commit7e1a2c8d3379302594e45d7ac3b09fd4b6477ffc (patch)
tree5d0e695aeea423523e3c1b4dc5658960f9e28308 /utf8.h
parentf067efbfa97c3658b1cf186884f09e38fcee1876 (diff)
downloadperl-7e1a2c8d3379302594e45d7ac3b09fd4b6477ffc.tar.gz
pp_match(): clarify intuit parens behaviour
There was some dodgy code, (flagged by dmq), that as well as setting RX_LASTPAREN(rx), RX_LASTCLOSEPAREN(rx) to zero, also set RX_NPARENS(rx) to zero. The actual logic is that if we reach that point, the pattern shouldn't have any capturing parentheses, so instead of assigning zero to it, assert that RX_NPARENS(rx) is zero.
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions