This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
set PL_reg_starttry correctly
authorDavid Mitchell <davem@iabyn.com>
Wed, 23 May 2012 10:39:28 +0000 (11:39 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:32:53 +0000 (13:32 +0100)
commit97ca13b708ab3e04f8c819a06972a8ba0022e88d
tree5ad988c1501747cbc723623ed1498ee5b6e06954
parent7e1a2c8d3379302594e45d7ac3b09fd4b6477ffc
set PL_reg_starttry correctly

PL_reg_starttry is only used for debugging, and S_regtry only set it
within DEBUG_EXECUTE_r; however, its value is also used within
DEBUG_STACK_r. So always set it when debugging, not just when
execute-debugging is enabled.
regexec.c