Add support for dos style files.

llvm-svn: 13836
This commit is contained in:
Chris Lattner 2004-05-27 17:44:18 +00:00
parent d48af1d9fb
commit 023eb7484f

View 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++; }