diff --git a/utils/TableGen/FileLexer.l b/utils/TableGen/FileLexer.l index 9b7973c6dc3..d684040d583 100644 --- 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++; }