In perl.git, the branch smoke-me/davem/more_op_sibling2 has been created
<http://perl5.git.perl.org/perl.git/commitdiff/fbfbdd77b42c7f2ee7025fbf892dd2dccb266e35?hp=0000000000000000000000000000000000000000>
at fbfbdd77b42c7f2ee7025fbf892dd2dccb266e35 (commit)
- Log -----------------------------------------------------------------
commit fbfbdd77b42c7f2ee7025fbf892dd2dccb266e35
Author: David Mitchell <[email protected]>
Date: Fri Apr 17 23:59:46 2015 +0100
add Op(MORE|LAST|MAYBE)SIB_set; rm OpSIBLING_set
the OpSIBLING_set() macro just set the op_sibling/op_sibparent field,
and didn't update op_moresib.
Remove this macro, and replace it with the three macros
OpMORESIB_set
OpLASTSIB_set
OpMAYBESIB_set
which also set op_moresib appropriately. These were suggested by Zefram.
Then in the remaining areas in op.c where low-level op_sibling/op_moresib
tweaking is done, use the new macros instead (so if nothing else, they get
used and tested.)
M op.c
M op.h
commit caeec06e297578fdcca4de69e8be3f9ee2f3f6e8
Author: David Mitchell <[email protected]>
Date: Fri Apr 17 20:38:49 2015 +0100
op_parent(): only exist under -DPERL_OP_PARENT
Make the function Perl_op_parent() only be present in perls built with
-DPERL_OP_PARENT. Previously the function was present in all builds, but
always returned NULL on non PERL_OP_PARENT builds.
M embed.fnc
M embed.h
M ext/B/B.xs
M ext/B/t/b.t
M makedef.pl
M op.c
M proto.h
-----------------------------------------------------------------------
--
Perl5 Master Repository