Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10
authorYves Orton <demerphq@gmail.com>
Thu, 6 Nov 2008 10:44:13 +0000 (10:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 5 Jan 2009 20:51:09 +0000 (20:51 +0000)
commite2e39fcceab23a76ef1286d497aae405e36e4efc
tree9acae53341b26748c9b747d1fd347ce1b9e9a623
parent7bc99adff2396f5d06545dcc3934c8f6f8227a0c
Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl 5.10

During the de-recursivization it looks like Dave M forgot to reset the 'logical'
flag after using it, which in turn causes UNLESSM/IFTHEN when used after a LOGICAL operator to
be incorrectly intrepreted. This change resets the logical flag after each time it is stored
in ST.logical.

p4raw-id: //depot/perl@34746

(cherry picked from commit aff3edb5cf5195431c87166ebfe06c4721c5c783)
regexec.c
t/op/re_tests