From 1ab2d0d6b360ce0250c3a95c6b3c444555a3d0c8 Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Thu, 14 Aug 2008 01:08:03 +0200 Subject: [PATCH] small change to config parser: comment now included in noise set --- src/config_parser.rl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config_parser.rl b/src/config_parser.rl index 9a59cd8..9fc85b5 100644 --- a/src/config_parser.rl +++ b/src/config_parser.rl @@ -664,9 +664,9 @@ line = ( line_sane | line_weird | line_insane ); ws = ( '\t' | ' ' ); - noise = ( ws | line ); - comment = ( '#' (any - line)* line ); + noise = ( ws | line | comment ); + block = ( '{' >block_start ); # basic types