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

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Sep 14 12:00:01 UTC 2009


Author: bacek
Date: Mon Sep 14 11:59:59 2009
New Revision: 41260
URL: https://trac.parrot.org/parrot/changeset/41260

Log:
[cage] Fix g++ failure reported by mikehh++. pmc2c-- for not reporting it.

Modified:
   trunk/src/pmc/undef.pmc

Modified: trunk/src/pmc/undef.pmc
==============================================================================
--- trunk/src/pmc/undef.pmc	Mon Sep 14 10:07:15 2009	(r41259)
+++ trunk/src/pmc/undef.pmc	Mon Sep 14 11:59:59 2009	(r41260)
@@ -216,8 +216,10 @@
 
 */
 
-    VTABLE INTVAL logical_not() {
-        return 1;
+    VTABLE PMC *logical_not(PMC *dest) {
+        dest = pmc_new(INTERP, VTABLE_type(INTERP, SELF));
+        VTABLE_set_bool(INTERP, dest, 1);
+        return dest;
     }
 
 /*


More information about the parrot-commits mailing list