diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2009-06-12 13:40:15 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-06-12 22:52:29 +1000 |
commit | d3323331e96cbc79563febc249e106a3ae8e7647 (patch) | |
tree | 648a221994ab28725c6e61b36ed26c7ee8820bea /test | |
parent | 5fbf63ce789b015da9abb95d7e9fbbf4a44ba7d1 (diff) | |
download | puppet-d3323331e96cbc79563febc249e106a3ae8e7647.tar.gz puppet-d3323331e96cbc79563febc249e106a3ae8e7647.tar.xz puppet-d3323331e96cbc79563febc249e106a3ae8e7647.zip |
Fix #2333 - Make sure lexer skip whitespace on non-token
Comments and multi-line comments produces no token per-se during
lexing, so the lexer loops to find another token.
The issue was that we were not skipping whitespace after finding
such non-token.
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/data/snippets/multilinecomments.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/data/snippets/multilinecomments.pp b/test/data/snippets/multilinecomments.pp index b20ce1d9d..f9819c020 100644 --- a/test/data/snippets/multilinecomments.pp +++ b/test/data/snippets/multilinecomments.pp @@ -4,3 +4,7 @@ file { "/tmp/multilinecomments": content => "pouet" } */ + +/* and another one for #2333, the whitespace after the +end comment is here on purpose */ + |