[llvm-commits] CVS: llvm/utils/TableGen/FileLexer.l

Chris Lattner lattner at cs.uiuc.edu
Thu May 27 12:48:01 PDT 2004


Changes in directory llvm/utils/TableGen:

FileLexer.l updated: 1.21 -> 1.22

---
Log message:

Add support for dos style files.


---
Diffs of the changes:  (+1 -1)

Index: llvm/utils/TableGen/FileLexer.l
diff -u llvm/utils/TableGen/FileLexer.l:1.21 llvm/utils/TableGen/FileLexer.l:1.22
--- llvm/utils/TableGen/FileLexer.l:1.21	Fri Feb 13 10:37:43 2004
+++ llvm/utils/TableGen/FileLexer.l	Thu May 27 12:44:18 2004
@@ -205,7 +205,7 @@
 
 {Integer}      { Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
 
-[ \t\n]+       { /* Ignore whitespace */ }
+[ \t\n\r]+     { /* Ignore whitespace */ }
 
 
 "/*"                    { BEGIN(comment); CommentDepth++; }





More information about the llvm-commits mailing list