From: Chris Lattner Date: Thu, 27 May 2004 18:28:32 +0000 (+0000) Subject: Add support for dos-style files X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=12fe669203935d01cc95b1168fc987eaa19e2186;p=oota-llvm.git Add support for dos-style files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13840 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/Lexer.l b/projects/Stacker/lib/compiler/Lexer.l index e45cdee87f2..a6375d3c16f 100644 --- a/projects/Stacker/lib/compiler/Lexer.l +++ b/projects/Stacker/lib/compiler/Lexer.l @@ -71,7 +71,7 @@ Comment1 [#].*$ /* You can also embed them in ( ... ) */ Comment2 \(.*\) /* We ignore white space */ -White [ \t\n] +White [ \t\r\n] /* jdentifiers start with a % sign */ Identifier [A-Za-z][-A-Za-z0-9_]*