Thanks to Alan Barrett for the patch
Signed-off-by: James Turnbull <[email protected]>
---
lib/puppet/parser/lexer.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/puppet/parser/lexer.rb b/lib/puppet/parser/lexer.rb
index 7adb0b6..cc0b0bc 100644
--- a/lib/puppet/parser/lexer.rb
+++ b/lib/puppet/parser/lexer.rb
@@ -361,7 +361,7 @@ class Puppet::Parser::Lexer
@file = nil
# AAARRGGGG! okay, regexes in ruby are bloody annoying
# no one else has "\n" =~ /\s/
- @skip = %r{[ \t]+}
+ @skip = %r{[ \t\r]+}
@namestack = []
@token_queue = []
--
1.6.6.1
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.