[svn:parrot] r38522 - trunk/src/ops
jkeenan at svn.parrot.org
jkeenan at svn.parrot.org
Thu May 7 03:08:57 UTC 2009
Author: jkeenan
Date: Thu May 7 03:08:54 2009
New Revision: 38522
URL: https://trac.parrot.org/parrot/changeset/38522
Log:
Correct violation of c_parens coding standard in three locations.
Modified:
trunk/src/ops/core.ops
Modified: trunk/src/ops/core.ops
==============================================================================
--- trunk/src/ops/core.ops Thu May 7 01:03:10 2009 (r38521)
+++ trunk/src/ops/core.ops Thu May 7 03:08:54 2009 (r38522)
@@ -870,7 +870,7 @@
opcode_t *dest;
opcode_t *const ret = expr NEXT();
PMC *resume = new_ret_continuation_pmc(interp, ret);
- if(PMC_IS_NULL(except) || except->vtable->base_type != enum_class_Exception)
+ if (PMC_IS_NULL(except) || except->vtable->base_type != enum_class_Exception)
except = Parrot_ex_build_exception(interp, EXCEPT_fatal, 1, NULL);
/*
* We might return here after handling the exception, so mark the
@@ -885,7 +885,7 @@
inline op throw(invar PMC, invar PMC) :flow {
opcode_t * dest;
PMC * except = $1;
- if(PMC_IS_NULL(except) || except->vtable->base_type != enum_class_Exception)
+ if (PMC_IS_NULL(except) || except->vtable->base_type != enum_class_Exception)
except = Parrot_ex_build_exception(interp, EXCEPT_fatal, 1, NULL);
dest = Parrot_ex_throw_from_op(interp, $1,
VTABLE_get_pointer(interp, $2));
@@ -894,7 +894,7 @@
inline op rethrow(invar PMC) :flow {
opcode_t * dest;
- if(PMC_IS_NULL($1) || $1->vtable->base_type != enum_class_Exception) {
+ if (PMC_IS_NULL($1) || $1->vtable->base_type != enum_class_Exception) {
opcode_t * const ret = expr NEXT();
PMC * except = Parrot_ex_build_exception(interp, EXCEPT_fatal, 1, NULL);
dest = Parrot_ex_throw_from_op(interp, except, ret);
More information about the parrot-commits
mailing list