Add support for dos style files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-05-27 17:44:18 +00:00
parent 8152f5f41d
commit 36c5757abf

View File

@ -205,7 +205,7 @@ ${Identifier} { Filelval.StrVal = new std::string(yytext+1, yytext+yyleng);
{Integer} { Filelval.IntVal = ParseInt(Filetext); return INTVAL; } {Integer} { Filelval.IntVal = ParseInt(Filetext); return INTVAL; }
[ \t\n]+ { /* Ignore whitespace */ } [ \t\n\r]+ { /* Ignore whitespace */ }
"/*" { BEGIN(comment); CommentDepth++; } "/*" { BEGIN(comment); CommentDepth++; }