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

utils/TableGen/FileLexer.l

index 9b7973c6dc302538ed3d3c50b8a5bbf41e661d07..d684040d583898c87d8521b75861f1f2f6b4e947 100644 (file)
@@ -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++; }