In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/5bfb0af0b8971c7f063804d149384ca17bfc0ae2?hp=08b999a9d7e845b758c38568f45f6b2b8d552ed9>
- Log ----------------------------------------------------------------- commit 5bfb0af0b8971c7f063804d149384ca17bfc0ae2 Author: Matthew Horsfall (alh) <[email protected]> Date: Thu Jan 8 08:41:24 2015 -0500 Fix apidocs for OP_TYPE_IS(_OR_WAS) - arguments separated by |, not ,. This was causing Devel::PPPort's tooling some grief. ----------------------------------------------------------------------- Summary of changes: op.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/op.h b/op.h index 1e4c9d9..1c00168 100644 --- a/op.h +++ b/op.h @@ -908,7 +908,7 @@ For custom ops the type is returned from the registration, and it is up to the registree to ensure it is accurate. The value returned will be one of the OA_* constants from op.h. -=for apidoc Am|bool|OP_TYPE_IS|OP *o, Optype type +=for apidoc Am|bool|OP_TYPE_IS|OP *o|Optype type Returns true if the given OP is not a NULL pointer and if it is of the given type. @@ -916,7 +916,7 @@ The negation of this macro, C<OP_TYPE_ISNT> is also available as well as C<OP_TYPE_IS_NN> and C<OP_TYPE_ISNT_NN> which elide the NULL pointer check. -=for apidoc Am|bool|OP_TYPE_IS_OR_WAS|OP *o, Optype type +=for apidoc Am|bool|OP_TYPE_IS_OR_WAS|OP *o|Optype type Returns true if the given OP is not a NULL pointer and if it is of the given type or used to be before being replaced by an OP of type OP_NULL. -- Perl5 Master Repository
