In perl.git, the branch smoke-me/scream2 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/a63b65adef6d72b629770779e5b25623af96d787?hp=0000000000000000000000000000000000000000>
at a63b65adef6d72b629770779e5b25623af96d787 (commit)
- Log -----------------------------------------------------------------
commit a63b65adef6d72b629770779e5b25623af96d787
Author: Nicholas Clark <[email protected]>
Date: Mon Jun 27 17:14:39 2011 +0200
Change PL_screamnext to store absolute positions.
PL_screamnext gives the position of the next occurrence of the current
octet.
Previously it stored this as an offset from the current position, with -pos
stored for "no more", so that the calculated new offset would be zero,
allowing a zero/non-zero loop exit test in Perl_screaminstr().
Now it stores absolute position, with -1 for "no more". Also codify -1 as
the
"not present" value for PL_screamfirst, instead of any negative value.
M pp.c
M regexec.c
M util.c
commit b48c8194cfb5b78e91c44fa30575952b1d92bbd4
Author: Nicholas Clark <[email protected]>
Date: Mon Jun 13 16:24:23 2011 +0200
Split out study magic from pos magic.
study uses magic to call SvSCREAM_off() if the scalar is modified. Allocate
it
its own magic type ('G' for now - pos magic is 'g'). Share the same "set"
routine and vtable as regexp/bm/fm (setregxp and vtbl_regexp).
M ext/Devel-Peek/t/Peek.t
M mg.c
M mg_names.c
M mg_raw.h
M mg_vtable.h
M pod/perlguts.pod
M pp.c
M regen/mg_vtable.pl
M t/porting/known_pod_issues.dat
-----------------------------------------------------------------------
--
Perl5 Master Repository