Author: coke
Date: Mon Nov 10 13:17:51 2008
New Revision: 32499
Modified:
trunk/src/ops/experimental.ops
trunk/src/ops/pmc.ops
trunk/src/ops/string.ops
Log:
Remove docs for 2 nonexistant op variants; use standard ":deprecated" syntax
instead of C comment; mark morph as deprecated (covered by the integer type ids
[DEPRECATED] status.)
Modified: trunk/src/ops/experimental.ops
==============================================================================
--- trunk/src/ops/experimental.ops (original)
+++ trunk/src/ops/experimental.ops Mon Nov 10 13:17:51 2008
@@ -185,7 +185,7 @@
=cut
-inline op morph(invar PMC, in INT) {
+inline op morph(invar PMC, in INT) :deprecated {
VTABLE_morph(interp, $1, $2);
}
Modified: trunk/src/ops/pmc.ops
==============================================================================
--- trunk/src/ops/pmc.ops (original)
+++ trunk/src/ops/pmc.ops Mon Nov 10 13:17:51 2008
@@ -519,8 +519,7 @@
=cut
-inline op add_multi(in INT, in INT, in INT, invar PMC) {
- /* {{**DEPRECATE**}} */
+inline op add_multi(in INT, in INT, in INT, invar PMC) :deprecated {
Parrot_ex_throw_from_c_args(interp, expr NEXT(), EXCEPTION_INVALID_OPERATION,
"Must add multi by function and type name, not number");
}
@@ -535,8 +534,7 @@
=cut
-inline op find_multi(out PMC, in INT, in INT, in INT) {
- /* {{**DEPRECATE**}} */
+inline op find_multi(out PMC, in INT, in INT, in INT) :deprecated {
Parrot_ex_throw_from_c_args(interp, expr NEXT(), EXCEPTION_INVALID_OPERATION,
"Must find multi by function and type name, not number");
}
Modified: trunk/src/ops/string.ops
==============================================================================
--- trunk/src/ops/string.ops (original)
+++ trunk/src/ops/string.ops Mon Nov 10 13:17:51 2008
@@ -334,8 +334,7 @@
=item B<new>(out STR, in INT)
-Allocate a new empty string, of length $2 (optional), encoding $3
-(optional) and type $4. (optional)
+Allocate a new empty string of length $2 (optional).
=cut