Allow extra newlines before right brace in config
This commit is contained in:
parent
f5f3dd1a29
commit
d4deb31a17
1
common.c
1
common.c
@ -1021,6 +1021,7 @@ config_parser_parse_value (struct config_parser *self, jmp_buf out)
|
|||||||
if (ACCEPT (CONFIG_T_LBRACE))
|
if (ACCEPT (CONFIG_T_LBRACE))
|
||||||
{
|
{
|
||||||
result = config_parser_parse_object (self, out);
|
result = config_parser_parse_object (self, out);
|
||||||
|
SKIP_NL ();
|
||||||
EXPECT (CONFIG_T_RBRACE);
|
EXPECT (CONFIG_T_RBRACE);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user