aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 17:49:14 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 17:49:14 +0000
commita0846a3fa7ed79fdac19ab448d5b950de56d2dd2 (patch)
tree998272170800332f789019e574ab50fd250774b6 /lib
parent36c5757abff6690777e92fdf8ef699dd2abd7509 (diff)
downloadexternal_llvm-a0846a3fa7ed79fdac19ab448d5b950de56d2dd2.zip
external_llvm-a0846a3fa7ed79fdac19ab448d5b950de56d2dd2.tar.gz
external_llvm-a0846a3fa7ed79fdac19ab448d5b950de56d2dd2.tar.bz2
Add support for dos-style files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AsmParser/Lexer.l2
1 files changed, 1 insertions, 1 deletions
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]; }
%%