summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 17:44:18 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 17:44:18 +0000
commit1f4e545a897502edb34833030abc35d21fd2e17d (patch)
treef0196cafe8363fd166fac9d73b4f851a9e9e88f6 /llvm
parent3a45149bd5c2ab227f8e27b295b078b0ae9a3bfe (diff)
downloadbcm5719-llvm-1f4e545a897502edb34833030abc35d21fd2e17d.tar.gz
bcm5719-llvm-1f4e545a897502edb34833030abc35d21fd2e17d.zip
Add support for dos style files.
llvm-svn: 13836
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/FileLexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FileLexer.l b/llvm/utils/TableGen/FileLexer.l
index 9b7973c6dc3..d684040d583 100644
--- a/llvm/utils/TableGen/FileLexer.l
+++ b/llvm/utils/TableGen/FileLexer.l
@@ -205,7 +205,7 @@ ${Identifier} { Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
{Integer} { Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
-[ \t\n]+ { /* Ignore whitespace */ }
+[ \t\n\r]+ { /* Ignore whitespace */ }
"/*" { BEGIN(comment); CommentDepth++; }
OpenPOWER on IntegriCloud