[SCM] Lisaac compiler branch, mildred-bugfix, updated. lisaac-0.12-557-gcaab436
Mildred Ki'Lya
silkensedai at online.fr
Mon Oct 12 21:28:47 UTC 2009
The following commit has been merged in the mildred-bugfix branch:
commit 70aaead20e7e017139a8fdd0268352aeb27b95c5
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date: Sun Oct 11 11:10:06 2009 +0200
Fix bug comparison with Expanded_ref
diff --git a/src/external/comparison/expr_binary_cmp.li b/src/external/comparison/expr_binary_cmp.li
index 6ec7670..5fbbed0 100644
--- a/src/external/comparison/expr_binary_cmp.li
+++ b/src/external/comparison/expr_binary_cmp.li
@@ -190,6 +190,9 @@ Section Public
((left.static_type.raw = TYPE_NULL) && {right.static_type.raw.is_block}).if {
buffer.add_last '0';
} else {
+ (left.static_type.is_expanded_ref).if {
+ buffer.add_last '*';
+ };
left.genere buffer;
(left.static_type.raw.is_block).if {
buffer.append ".__id";
@@ -210,6 +213,9 @@ Section Public
((right.static_type.raw = TYPE_NULL) && {left.static_type.raw.is_block}).if {
buffer.add_last '0';
} else {
+ (right.static_type.is_expanded_ref).if {
+ buffer.add_last '*';
+ };
right.genere buffer;
(right.static_type.raw.is_block).if {
buffer.append ".__id";
--
Lisaac compiler
More information about the Lisaac-commits
mailing list