[svn:parrot] r45347 - trunk/src/pmc

mikehh at svn.parrot.org mikehh at svn.parrot.org
Wed Mar 31 10:42:31 UTC 2010


Author: mikehh
Date: Wed Mar 31 10:42:30 2010
New Revision: 45347
URL: https://trac.parrot.org/parrot/changeset/45347

Log:
fix codetest failure - assert args and linelength - src/pmc/complex.pmc

Modified:
   trunk/src/pmc/complex.pmc

Modified: trunk/src/pmc/complex.pmc
==============================================================================
--- trunk/src/pmc/complex.pmc	Wed Mar 31 10:32:36 2010	(r45346)
+++ trunk/src/pmc/complex.pmc	Wed Mar 31 10:42:30 2010	(r45347)
@@ -80,8 +80,11 @@
 */
 
 static void
-complex_parse_string(PARROT_INTERP, ARGOUT(FLOATVAL *re), ARGOUT(FLOATVAL *im), ARGIN(STRING *value))
+complex_parse_string(PARROT_INTERP,
+                     ARGOUT(FLOATVAL *re), ARGOUT(FLOATVAL *im), ARGIN(STRING *value))
 {
+    ASSERT_ARGS(complex_parse_string)
+
     char   * const str        = Parrot_str_to_cstring(interp, value);
     char   *t                 = str;
     char   *first_num_offset  = str;
@@ -238,6 +241,8 @@
 static void
 int_check_divide_zero(PARROT_INTERP, INTVAL value)
 {
+    ASSERT_ARGS(int_check_divide_zero)
+
     if (value == 0)
         Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_DIV_BY_ZERO,
             "Divide by zero");


More information about the parrot-commits mailing list