summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit781479c7d781fbf2f1780cfa49e40fd9b0a82cbd (patch)
treef33a34259c70381a2b9a8125d96072feb0610b68 /llvm/projects/Stacker
parent8232621124fe22fd0ed1060e6532fc5f824a7869 (diff)
downloadbcm5719-llvm-781479c7d781fbf2f1780cfa49e40fd9b0a82cbd.tar.gz
bcm5719-llvm-781479c7d781fbf2f1780cfa49e40fd9b0a82cbd.zip
Add support for dos-style files
llvm-svn: 13840
Diffstat (limited to 'llvm/projects/Stacker')
-rw-r--r--llvm/projects/Stacker/lib/compiler/Lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/Lexer.l b/llvm/projects/Stacker/lib/compiler/Lexer.l
index e45cdee87f2..a6375d3c16f 100644
--- a/llvm/projects/Stacker/lib/compiler/Lexer.l
+++ b/llvm/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_]*
OpenPOWER on IntegriCloud