From d3323331e96cbc79563febc249e106a3ae8e7647 Mon Sep 17 00:00:00 2001 From: Brice Figureau Date: Fri, 12 Jun 2009 13:40:15 +0200 Subject: 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 --- test/data/snippets/multilinecomments.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/data') 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 */ + -- cgit