[SCM] Lisaac compiler branch, master+stable, updated. lisaac-0.12-606-gf445725

Mildred Ki'Lya silkensedai at online.fr
Mon Mar 1 00:35:37 UTC 2010


The following commit has been merged in the master+stable branch:
commit 916194746241283b3814fde1ab2a040045dad75d
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Wed Nov 11 16:45:20 2009 +0100

    Fixed test typedef_missing

diff --git a/tests/typedef_missing/main.li b/tests/typedef_missing/main.li
index 793a041..5601f77 100644
--- a/tests/typedef_missing/main.li
+++ b/tests/typedef_missing/main.li
@@ -2,14 +2,26 @@ Section Header
 
   + name := MAIN;
 
+Section External
+
+  - show2 p:PROTO2 <-
+  (
+    p.println;
+  );
+
+  - show3 p:PROTO3 <-
+  (
+    p.println;
+  );
+
 Section Public
 
   - main <-
   (
     PROTO2.set_var 1;
     PROTO2.set_var2 2;
-    PROTO2.println;
+    show2 PROTO2;
     PROTO3.set_var 3;
-    PROTO3.println;
+    show3 PROTO3;
   );
 
diff --git a/tests/typedef_missing/proto1.li b/tests/typedef_missing/proto1.li
index e2b3244..aca5fb5 100644
--- a/tests/typedef_missing/proto1.li
+++ b/tests/typedef_missing/proto1.li
@@ -9,7 +9,7 @@ Section Public
   - println <-
   (
     name.print;
-    ' '.print;
+    " var:".print;
     var.println;
   );
 
diff --git a/tests/typedef_missing/proto2.li b/tests/typedef_missing/proto2.li
index 0a00b4c..420c2d1 100644
--- a/tests/typedef_missing/proto2.li
+++ b/tests/typedef_missing/proto2.li
@@ -13,9 +13,9 @@ Section Public
   - println <-
   (
     name.print;
-    ' '.print;
-    var.println;
-    ' '.print;
+    " var:".print;
+    var.print;
+    " var2:".print;
     var2.println;
   );
 
diff --git a/tests/typedef_missing/proto3.li b/tests/typedef_missing/proto3.li
index 25fb505..c45d440 100644
--- a/tests/typedef_missing/proto3.li
+++ b/tests/typedef_missing/proto3.li
@@ -9,7 +9,7 @@ Section Public
   - println <-
   (
     name.print;
-    ' '.print;
+    " var:".print;
     var.println;
   );
 

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list