summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/utils/TableGen/FileLexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/FileLexer.l b/llvm/utils/TableGen/FileLexer.l
index 9b7973c6dc3..d684040d583 100644
--- a/llvm/utils/TableGen/FileLexer.l
+++ b/llvm/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++; }
OpenPOWER on IntegriCloud