[svn:parrot] r39304 - trunk/lib/Parrot/Pmc2c

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Jun 1 18:31:03 UTC 2009


Author: NotFound
Date: Mon Jun  1 18:31:02 2009
New Revision: 39304
URL: https://trac.parrot.org/parrot/changeset/39304

Log:
[cage] drop ; at end of "do .... while (0)"

Modified:
   trunk/lib/Parrot/Pmc2c/Attribute.pm

Modified: trunk/lib/Parrot/Pmc2c/Attribute.pm
==============================================================================
--- trunk/lib/Parrot/Pmc2c/Attribute.pm	Mon Jun  1 17:02:58 2009	(r39303)
+++ trunk/lib/Parrot/Pmc2c/Attribute.pm	Mon Jun  1 18:31:02 2009	(r39304)
@@ -168,7 +168,7 @@
         } \\
         else \\
             (dest) = ((Parrot_${pmcname}_attributes *)PMC_data(pmc))->$attrname; \\
-    } while (0);
+    } while (0)
 
 #define SETATTR_${pmcname}_${attrname}(interp, pmc, value) \\
     do { \\
@@ -225,7 +225,7 @@
         } \\
         else \\
             ((Parrot_${pmcname}_attributes *)PMC_data(pmc))->$attrname = (value); \\
-    } while (0);
+    } while (0)
 
 EOA
 


More information about the parrot-commits mailing list