From: Chris Lattner Date: Thu, 27 May 2004 17:44:18 +0000 (+0000) Subject: Add support for dos style files. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=36c5757abff6690777e92fdf8ef699dd2abd7509;p=oota-llvm.git Add support for dos style files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13836 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l index 9b7973c6dc3..d684040d583 100644 --- a/utils/TableGen/FileLexer.l +++ b/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++; }