[SCM] Lisaac compiler branch, mildred-stable, updated. mildred-r4

Mildred Ki'Lya silkensedai at online.fr
Fri May 6 10:25:23 UTC 2011


The following commit has been merged in the mildred-stable branch:
commit 518d10d485afb3caa107eae07c01c6278ae2dbb2
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Fri May 6 12:18:49 2011 +0200

    Debug message instead of crash (deferred slot)

diff --git a/src/variable/variable.li b/src/variable/variable.li
index dda5c2e..3352cd3 100644
--- a/src/variable/variable.li
+++ b/src/variable/variable.li
@@ -186,23 +186,36 @@ Section Public
 
   - reset_last_write w:WRITE <-
   (
-    deferred;
+    warning_error2(w.position, w.value.position, "Deferred: reset_last_write WRITE");
+    debug_print_execute_trace;
+    w.debug_display;
+    // print_runtime_stack;
+    // deferred;
   );
 
   - set_write w:WRITE <-
   (
+    warning_error2(w.position, w.value.position, "Deferred: set_write WRITE");
+    w.debug_display;
     deferred;
   );
 
   - set_read <-
   (
+    "Deferred: set_read".println;
     deferred;
   );
 
-  - get_last_index:INTEGER <- deferred;
+  - get_last_index:INTEGER <-
+  (
+    "Deferred: get_last_index".println;
+    deferred;
+  );
 
   - get_last_value rec:EXPR :EXPR <-
   (
+    warning(rec.position, "Deferred: get_last_value EXPR");
+    rec.debug_display;
     deferred;
     NULL
   );

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list