[SCM] Lisaac compiler branch, master, updated. lisaac-0.12-699-g7f9e535
Mildred Ki'Lya
silkensedai at online.fr
Thu Apr 7 09:06:46 UTC 2011
The following commit has been merged in the master branch:
commit 7f9e53528a466236006e0096538a368420a0b9bf
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date: Thu Apr 7 11:03:33 2011 +0200
Fix STRING (bis)
diff --git a/lib/standard/string/string.li b/lib/standard/string/string.li
index 16ad2dc..281ede0 100644
--- a/lib/standard/string/string.li
+++ b/lib/standard/string/string.li
@@ -803,7 +803,11 @@ Section Public
//
- from_native_array_of_character p:NATIVE_ARRAY(CHARACTER) :SELF <-
- from_external_copy p;
+ ( + s :SELF;
+ s := SELF.create 0;
+ s.from_external_copy p;
+ s
+ );
- from_native_array_of_integer_8 p:NATIVE_ARRAY(INTEGER_8) :SELF <-
from_external_copy(CONVERT(NATIVE_ARRAY(INTEGER_8),NATIVE_ARRAY(CHARACTER)).on p);
--
Lisaac compiler
More information about the Lisaac-commits
mailing list