summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorMatthew Horsfall (alh) <wolfsage@gmail.com>2015-01-08 08:41:24 -0500
committerMatthew Horsfall (alh) <wolfsage@gmail.com>2015-01-08 08:41:24 -0500
commit5bfb0af0b8971c7f063804d149384ca17bfc0ae2 (patch)
tree8631b000187e7da5e02934b85db0446a498b0b2f /op.h
parent08b999a9d7e845b758c38568f45f6b2b8d552ed9 (diff)
downloadperl-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/op.h b/op.h
index 1e4c9d9131..1c001684e0 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.