Author: paultcochrane
Date: Sun Jan 20 08:54:30 2008
New Revision: 25050

Modified:
   trunk/languages/pynie/src/builtins/funcs.pir
   trunk/languages/pynie/src/builtins/io.pir

Log:
[pynie] Converted new .Integer to new 'Integer' as per RT#48024

Modified: trunk/languages/pynie/src/builtins/funcs.pir
==============================================================================
--- trunk/languages/pynie/src/builtins/funcs.pir        (original)
+++ trunk/languages/pynie/src/builtins/funcs.pir        Sun Jan 20 08:54:30 2008
@@ -41,7 +41,7 @@
     .param pmc iterable
     .local pmc iter, result, obj
     iter = new .Iterator, iterable
-    result = new .Integer # should be boolean or whatever
+    result = new 'Integer' # should be boolean or whatever
 
     .local int bool
   loop_check:
@@ -71,7 +71,7 @@
     .param pmc iterable
     .local pmc iter, result, obj
     iter = new .Iterator, iterable
-    result = new .Integer # should be bool
+    result = new 'Integer' # should be bool
     .local int bool
 
  loop_check:
@@ -117,7 +117,7 @@
     .param int has_x :opt_flag
 
     .local pmc result
-    result = new .Integer # should be bool or whatever
+    result = new 'Integer' # should be bool or whatever
 
     if has_x == 0 goto fail
     $I0 = x

Modified: trunk/languages/pynie/src/builtins/io.pir
==============================================================================
--- trunk/languages/pynie/src/builtins/io.pir   (original)
+++ trunk/languages/pynie/src/builtins/io.pir   Sun Jan 20 08:54:30 2008
@@ -13,7 +13,7 @@
 .include 'cclass.pasm'
 
 .sub 'onload' :load :init
-    $P0 = new .Integer
+    $P0 = new 'Integer'
     $P0 = 1
     set_global '$isbol', $P0
     .return ()

Reply via email to