[SCM] Lisaac compiler branch, living-external, updated. lisaac-0.12-548-gf6e3b14

Mildred Ki'Lya silkensedai at online.fr
Thu Oct 8 17:06:20 UTC 2009


The following commit has been merged in the living-external branch:
commit c8816185cb2a81e2a7801212a9ec1188b9b1c24a
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Thu Oct 8 16:26:33 2009 +0200

    Improved error message in PROFIL

diff --git a/src/profil.li b/src/profil.li
index a1358f7..95c9e0a 100644
--- a/src/profil.li
+++ b/src/profil.li
@@ -132,7 +132,12 @@ Section Public
     + result:FAST_ARRAY(WRITE);
     
     (args.count != argument_list.count).if {
-      semantic_error (args.last.position,"Incorrect vector size.");
+      string_tmp.copy "Incorrect vector size, ";
+      args.count.append_in string_tmp;
+      string_tmp.append " instead of ";
+      argument_list.count.append_in string_tmp;
+      string_tmp.add_last '.';
+      semantic_error (args.last.position,string_tmp);
     };
     
     result := FAST_ARRAY(WRITE).create_with_capacity (argument_list.count);

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list