[Commit] mint/src bootmint.5c,NONE,1.1 mint.5c,1.2,1.3

James LaMar commit at keithp.com
Tue Nov 30 21:30:08 PST 2004


Committed by: jlamar

Update of /local/src/CVS/mint/src
In directory home.keithp.com:/tmp/cvs-serv10739

Modified Files:
	mint.5c 
Added Files:
	bootmint.5c 
Log Message:
Added in bootstrapping version of mint.


--- NEW FILE: bootmint.5c ---
(This appears to be a binary file; contents omitted.)

Index: mint.5c
===================================================================
RCS file: /local/src/CVS/mint/src/mint.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mint.5c	29 Nov 2004 22:51:27 -0000	1.2
+++ mint.5c	1 Dec 2004 05:30:05 -0000	1.3
@@ -99,7 +99,12 @@
             return t.lexeme[0];
         case "esclit":
             token t = get_tok(nt.fields["op1"]);
-            return t.lexeme[1];
+            if(t.lexeme[1] == 'n') {
+                return '\n';
+            } else if(t.lexeme[1] == 't') {
+                return '\t';
+            }
+            return t.lexeme[1]; 
         default:
             raise regex_error();
     }




More information about the Commit mailing list