[SCM] Lisaac compiler branch, master, updated. lisaac-0.12-606-g4554e79

Mildred Ki'Lya silkensedai at online.fr
Mon Mar 1 01:31:48 UTC 2010


The following commit has been merged in the master branch:
commit 9779950597dd05e14512bbd7c705dc7390b05aa5
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Sat Feb 20 02:23:36 2010 +0100

    Update syntax in parser.li

diff --git a/src/parser.li b/src/parser.li
index 123cd43..0f8b3be 100644
--- a/src/parser.li
+++ b/src/parser.li
@@ -682,6 +682,11 @@ Section Private
     result
   );
 
+  //-- escape         -> '\\' separator {separator} '\\'
+  //--                 | '\\' escape_seq
+  //--                 | '\\' integer '\\'
+  //-- escape_seq     -> 'a' | 'b'  | 'f' | 'n'  | 'r'  | 't'
+  //--                 | 'v' | '\\' | '?' | '\'' | '\"' | '0'
   - read_escape_character <-
   ( + nothing:BOOLEAN;
     + val:INTEGER;
@@ -787,8 +792,10 @@ Section Private
     };
     result
   );
-
-  //-- string         -> '\"' ascii_string '\"'
+  
+  //-- string         -> '\"' string_char '\"'
+  //-- string_char    -> escape
+  //--                 | ascii
   - read_string:BOOLEAN <-
   ( + result:BOOLEAN;
     + old_pos:INTEGER;

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list