From a0846a3fa7ed79fdac19ab448d5b950de56d2dd2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 27 May 2004 17:49:14 +0000 Subject: Add support for dos-style files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13837 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/Lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index 510fedb..1c85059 100644 --- a/lib/AsmParser/Lexer.l +++ b/lib/AsmParser/Lexer.l @@ -314,7 +314,7 @@ getelementptr { RET_TOK(MemOpVal, GetElementPtr, GETELEMENTPTR); } return EOF; } -[ \t\n] { /* Ignore whitespace */ } +[ \r\t\n] { /* Ignore whitespace */ } . { return yytext[0]; } %% -- cgit v1.1