[SCM] Lisaac compiler branch, master, updated. lisaac-0.12-696-g27ba87e

ontologiae ontologiae at gmail.com
Wed Jan 26 19:22:45 UTC 2011


The following commit has been merged in the master branch:
commit 7395d442c3f2d6e388513a3bbcbba8ef76d22d63
Author: ontologiae <ontologiae at gmail.com>
Date:   Thu Jan 20 17:21:08 2011 +0100

    Adding 2nd test fro profil block bug

diff --git a/tests/bugsRc2/profilblock.li b/tests/bugsRc2/profilblock2.li
similarity index 76%
copy from tests/bugsRc2/profilblock.li
copy to tests/bugsRc2/profilblock2.li
index e24ad46..3847e23 100755
--- a/tests/bugsRc2/profilblock.li
+++ b/tests/bugsRc2/profilblock2.li
@@ -15,7 +15,7 @@
 
 Section Header
 
-  + name    := PROFILBLOCK;
+  + name    := PROFILBLOCK2;
       
   
   
@@ -26,18 +26,14 @@ Section Inherit
   
 Section Public
 
-  - sum : { (INTEGER,INTEGER);INTEGER} :=   sum := { (i,acc:INTEGER); 
-               + return : INTEGER;
-               (i<0).if { return := acc;} else { return := sum.value (i-1,acc+1)};
-               return
-             };
 
   - main <-
   (  
-    
-    
-             sum.value (5000,0).print;
-    ); 
+      1.to 89 do { a: UINTEGER_8;
+            a.println;
+          };
+  ); 
+
 
 
 

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list