[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l

Chris Lattner lattner at cs.uiuc.edu
Thu May 27 12:52:02 PDT 2004


Changes in directory llvm/lib/AsmParser:

Lexer.l updated: 1.48 -> 1.49

---
Log message:

Add support for dos-style files


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

Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.48 llvm/lib/AsmParser/Lexer.l:1.49
--- llvm/lib/AsmParser/Lexer.l:1.48	Tue Mar 30 21:48:33 2004
+++ llvm/lib/AsmParser/Lexer.l	Thu May 27 12:49:14 2004
@@ -314,7 +314,7 @@
                   return EOF;
                 }
 
-[ \t\n]         { /* Ignore whitespace */ }
+[ \r\t\n]       { /* Ignore whitespace */ }
 .               { return yytext[0]; }
 
 %%





More information about the llvm-commits mailing list