projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8152f5f
)
Add support for dos style files.
author
Chris Lattner
<sabre@nondot.org>
Thu, 27 May 2004 17:44:18 +0000
(17:44 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/utils/TableGen/FileLexer.l
b/utils/TableGen/FileLexer.l
index 9b7973c6dc302538ed3d3c50b8a5bbf41e661d07..d684040d583898c87d8521b75861f1f2f6b4e947 100644
(file)
--- 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++; }