commit | 1f4e545a897502edb34833030abc35d21fd2e17d | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu May 27 17:44:18 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu May 27 17:44:18 2004 +0000 |
tree | f0196cafe8363fd166fac9d73b4f851a9e9e88f6 | |
parent | 3a45149bd5c2ab227f8e27b295b078b0ae9a3bfe [diff] [blame] |
Add support for dos style files. llvm-svn: 13836
diff --git a/llvm/utils/TableGen/FileLexer.l b/llvm/utils/TableGen/FileLexer.l index 9b7973c..d684040 100644 --- a/llvm/utils/TableGen/FileLexer.l +++ b/llvm/utils/TableGen/FileLexer.l
@@ -205,7 +205,7 @@ {Integer} { Filelval.IntVal = ParseInt(Filetext); return INTVAL; } -[ \t\n]+ { /* Ignore whitespace */ } +[ \t\n\r]+ { /* Ignore whitespace */ } "/*" { BEGIN(comment); CommentDepth++; }