summaryrefslogtreecommitdiff
path: root/projects/Stacker
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 18:28:32 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 18:28:32 +0000
commit12fe669203935d01cc95b1168fc987eaa19e2186 (patch)
tree0f9f0b7a51faafcc57fb00558672620b07eb7035 /projects/Stacker
parentc52663c4edc90a48c7bbba125bf5271072c6bb12 (diff)
downloadllvm-12fe669203935d01cc95b1168fc987eaa19e2186.tar.gz
llvm-12fe669203935d01cc95b1168fc987eaa19e2186.tar.bz2
llvm-12fe669203935d01cc95b1168fc987eaa19e2186.tar.xz
Add support for dos-style files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects/Stacker')
-rw-r--r--projects/Stacker/lib/compiler/Lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/Stacker/lib/compiler/Lexer.l b/projects/Stacker/lib/compiler/Lexer.l
index e45cdee87f..a6375d3c16 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_]*