[svn:parrot] r48451 - in trunk: . src/ops
bubaflub at svn.parrot.org
bubaflub at svn.parrot.org
Fri Aug 13 14:30:18 UTC 2010
Author: bubaflub
Date: Fri Aug 13 14:30:17 2010
New Revision: 48451
URL: https://trac.parrot.org/parrot/changeset/48451
Log:
[TT #1738] Improve docs of PARROT_ERROR_*_FLAG Paul_the_Greek++
Modified:
trunk/DEPRECATED.pod
trunk/src/ops/core.ops
Modified: trunk/DEPRECATED.pod
==============================================================================
--- trunk/DEPRECATED.pod Fri Aug 13 13:52:14 2010 (r48450)
+++ trunk/DEPRECATED.pod Fri Aug 13 14:30:17 2010 (r48451)
@@ -249,6 +249,10 @@
L<https://trac.parrot.org/parrot/ticket/1655>
+=item errorson, errorsoff operations [eligible in 2.7]
+
+The C<.PARROT_ERRORS_GLOBAL_FLAG> flag will be eliminated. It is not used by Parrot.
+
=back
=head1 Bytecode
Modified: trunk/src/ops/core.ops
==============================================================================
--- trunk/src/ops/core.ops Fri Aug 13 13:52:14 2010 (r48450)
+++ trunk/src/ops/core.ops Fri Aug 13 14:30:17 2010 (r48451)
@@ -1009,19 +1009,22 @@
=item .PARROT_ERRORS_GLOBALS_FLAG
-Throw an exception if global doesn't exist. Default: on.
+Throw an exception if a global doesn't exist. This
+flag is not used by Parrot and is deprecated.
=item .PARROT_ERRORS_OVERFLOW_FLAG
-Throw math overflow instead of promoting to BigInt. Default: off.
+When performing arithmetic on Integer PMCs, throw a math overflow exception
+instead of promoting to BigInt. This flag does not pertain to native integers,
+which are never promoted. Default: off.
=item .PARROT_ERRORS_PARAM_COUNT_FLAG
-Throw exception on argument <-> param count mismatch. Default: off.
+Throw an exception on an argument versus parameter count mismatch. Default: on.
=item .PARROT_ERRORS_RESULT_COUNT_FLAG
-Throw exception on return <-> result count mismatch. Default: off.
+Throw an exception on a return versus result count mismatch. Default: off.
=item .PARROT_ERRORS_ALL_FLAG
More information about the parrot-commits
mailing list