aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-01 20:59:09 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-01 20:59:09 +0200
commitd4deb31a17421dc89217149c1dafd85fb414c2a0 (patch)
tree1500f782e08687d00d30c9bbae85b2c03372d58a
parentf5f3dd1a297b963d6c6617c08b4fc9404459f3e3 (diff)
downloadxK-d4deb31a17421dc89217149c1dafd85fb414c2a0.tar.gz
xK-d4deb31a17421dc89217149c1dafd85fb414c2a0.tar.xz
xK-d4deb31a17421dc89217149c1dafd85fb414c2a0.zip
Allow extra newlines before right brace in config
-rw-r--r--common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.c b/common.c
index 10d4293..548de33 100644
--- a/common.c
+++ b/common.c
@@ -1021,6 +1021,7 @@ config_parser_parse_value (struct config_parser *self, jmp_buf out)
if (ACCEPT (CONFIG_T_LBRACE))
{
result = config_parser_parse_object (self, out);
+ SKIP_NL ();
EXPECT (CONFIG_T_RBRACE);
return result;
}