From d4deb31a17421dc89217149c1dafd85fb414c2a0 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 1 May 2015 20:59:09 +0200
Subject: Allow extra newlines before right brace in config
---
common.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
cgit v1.2.3-70-g09d2