Add support for dos-style files
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 18:28:32 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 18:28:32 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13840 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/Lexer.l

index e45cdee87f26a351f3d7a491cd8f50fd8520aaf7..a6375d3c16f2d97ed621ee04f58a61f9ce775925 100644 (file)
@@ -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_]*