diff options
author | Matthew Horsfall (alh) <wolfsage@gmail.com> | 2015-01-08 08:41:24 -0500 |
---|---|---|
committer | Matthew Horsfall (alh) <wolfsage@gmail.com> | 2015-01-08 08:41:24 -0500 |
commit | 5bfb0af0b8971c7f063804d149384ca17bfc0ae2 (patch) | |
tree | 8631b000187e7da5e02934b85db0446a498b0b2f /op.h | |
parent | 08b999a9d7e845b758c38568f45f6b2b8d552ed9 (diff) | |
download | perl-5bfb0af0b8971c7f063804d149384ca17bfc0ae2.tar.gz |
Fix apidocs for OP_TYPE_IS(_OR_WAS) - arguments separated by |, not ,.
This was causing Devel::PPPort's tooling some grief.
Diffstat (limited to 'op.h')
-rw-r--r-- | op.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |