[SCM] Lisaac compiler branch, master+stable, updated. lisaac-0.12-606-gf445725

Mildred Ki'Lya silkensedai at online.fr
Mon Mar 1 00:36:03 UTC 2010


The following commit has been merged in the master+stable branch:
commit 592de4768897773baa6c1825a7676be688f60587
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Mon Oct 12 23:13:39 2009 +0200

    Add error functions with 2 POSITION

diff --git a/src/any.li b/src/any.li
index 8454b40..19be30c 100644
--- a/src/any.li
+++ b/src/any.li
@@ -313,6 +313,14 @@ Section Public
     POSITION.send_error;
   );
 
+  - syntax_error2 (p1:POSITION, p2:POSITION,txt:ABSTRACT_STRING) <-
+  (
+    p1.put_error syntax text txt;
+    p1.put_position;
+    p2.put_position;
+    POSITION.send_error;
+  );
+
   - semantic_error (pos:POSITION,txt:ABSTRACT_STRING) <-
   (
     pos.put_error semantic text txt;
@@ -320,6 +328,14 @@ Section Public
     POSITION.send_error;
   );
 
+  - semantic_error2 (p1:POSITION, p2:POSITION,txt:ABSTRACT_STRING) <-
+  (
+    p1.put_error semantic text txt;
+    p1.put_position;
+    p2.put_position;
+    POSITION.send_error;
+  );
+
   - warning_error (pos:POSITION,txt:ABSTRACT_STRING) <-
   (
     pos.put_error warning text txt;
@@ -327,6 +343,14 @@ Section Public
     POSITION.send_error;
   );
 
+  - warning_error2 (p1:POSITION, p2:POSITION,txt:ABSTRACT_STRING) <-
+  (
+    p1.put_error warning text txt;
+    p1.put_position;
+    p2.put_position;
+    POSITION.send_error;
+  );
+
   - message_error (pos:POSITION,txt:ABSTRACT_STRING) <-
   (
     is_verbose.if {

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list