develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [patch] ignore PL_curpm in PL_regex_padav cleanup

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
August 4, 2001 09:45
Subject:
Re: [patch] ignore PL_curpm in PL_regex_padav cleanup
Message ID:
20010804114501.G16234@chaos.wustl.edu
On Sat, Aug 04, 2001 at 09:43:02AM -0700, Doug MacEachern wrote:
> On Sat, 4 Aug 2001, Arthur Bergman wrote:
> 
> > Problem is that PL_curpm changes after every match. So you would need to set
> > and unset the SVf_BREAK flag every time you get a new PMOP.
> 
> my comments used the wrong variable name, s/PL_curpm/PL_reg_curpm/
> for which the PL_regex_padav entry is only allocated once per interpreter:
>         if (!PL_reg_curpm) {
>         ...
>                 PL_reg_curpm->op_pmoffset = av_len(PL_regex_padav);

Thanks, applied (#11574).

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About