Add support for dos-style files
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 17:49:14 +0000 (17:49 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 17:49:14 +0000 (17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13837 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AsmParser/Lexer.l

index 510fedb8698826a39f533a04699f1956bfa60227..1c85059757a58ad8cafa4ebb71ef54f925922d90 100644 (file)
@@ -314,7 +314,7 @@ getelementptr   { RET_TOK(MemOpVal, GetElementPtr, GETELEMENTPTR); }
                   return EOF;
                 }
 
-[ \t\n]         { /* Ignore whitespace */ }
+[ \r\t\n]       { /* Ignore whitespace */ }
 .               { return yytext[0]; }
 
 %%