diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-01 20:59:09 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-01 20:59:09 +0200 |
commit | d4deb31a17421dc89217149c1dafd85fb414c2a0 (patch) | |
tree | 1500f782e08687d00d30c9bbae85b2c03372d58a | |
parent | f5f3dd1a297b963d6c6617c08b4fc9404459f3e3 (diff) | |
download | xK-d4deb31a17421dc89217149c1dafd85fb414c2a0.tar.gz xK-d4deb31a17421dc89217149c1dafd85fb414c2a0.tar.xz xK-d4deb31a17421dc89217149c1dafd85fb414c2a0.zip |
Allow extra newlines before right brace in config
-rw-r--r-- | common.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |