CVS: sml/src/ml-lex lexgen.sml,1.7,1.8

John Reppy <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj.commits
Message-ID <[email protected]>
Update of /cvsroot/smlnj/sml/src/ml-lex
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3497/src/ml-lex

Modified Files:
	lexgen.sml 
Log Message:
  Fixed ml-lex to recognize "\r" in REs.


Index: lexgen.sml
===================================================================
RCS file: /cvsroot/smlnj/sml/src/ml-lex/lexgen.sml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** lexgen.sml	5 Sep 2003 21:34:26 -0000	1.7
--- lexgen.sml	27 Jul 2005 18:49:19 -0000	1.8
***************
*** 72,75 ****
--- 72,76 ----
  		print the bad character.
          10/17/02 (jhr) fixed skipws to use Char.isSpace test.
+ 	07/27/05 (jhr) add \r as a recognized escape sequence.
   *)
  
***************
*** 437,440 ****
--- 438,442 ----
  	     of #"b" => #"\008"
  	      | #"n" => #"\n"
+ 	      | #"r" => #"\r"
  	      | #"t" => #"\t"
  	      | #"h" => #"\128"



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.