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