diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-27 18:28:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-27 18:28:32 +0000 |
commit | 12fe669203935d01cc95b1168fc987eaa19e2186 (patch) | |
tree | 0f9f0b7a51faafcc57fb00558672620b07eb7035 /projects/Stacker/lib/compiler/Lexer.l | |
parent | c52663c4edc90a48c7bbba125bf5271072c6bb12 (diff) |
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/lib/compiler/Lexer.l')
-rw-r--r-- | projects/Stacker/lib/compiler/Lexer.l | 2 |
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_]* |