[SCM] Lisaac compiler branch, mildred-backend, updated. lisaac-0.12-524-g7710f76
Mildred Ki'Lya
silkensedai at online.fr
Tue Aug 25 21:53:55 UTC 2009
The following commit has been merged in the mildred-backend branch:
commit fcf7ced1f8a2f1f483aa71e6303742bbcc98dd84
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date: Tue Aug 25 20:02:19 2009 +0200
improve error message
diff --git a/src/type/type.li b/src/type/type.li
index 9edad71..00f8efa 100644
--- a/src/type/type.li
+++ b/src/type/type.li
@@ -570,7 +570,12 @@ Section Public
tab := slot_size.item j;
// BSBS: A tester sont utilit� !
(! tab.is_empty).if {
- semantic_error ((tab.first.position),"Slot is not possible with a type C");
+ string_tmp.copy "Slot is not possible with the C type `";
+ string_tmp.append type_c;
+ string_tmp.append "' in `";
+ string_tmp.append name;
+ string_tmp.append "'.";
+ semantic_error ((tab.first.position),string_tmp);
};
};
// Raise an error for C types that have a late binding
--
Lisaac compiler
More information about the Lisaac-commits
mailing list