aboutsummaryrefslogtreecommitdiff
path: root/src/ucl_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ucl_parser.c')
-rw-r--r--src/ucl_parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ucl_parser.c b/src/ucl_parser.c
index 87685744716e..e51a54b77bc6 100644
--- a/src/ucl_parser.c
+++ b/src/ucl_parser.c
@@ -1661,6 +1661,11 @@ ucl_state_machine (struct ucl_parser *parser)
return false;
}
else {
+ /* Skip any spaces */
+ while (p < chunk->end && ucl_test_character (*p,
+ UCL_CHARACTER_WHITESPACE_UNSAFE)) {
+ ucl_chunk_skipc (chunk, p);
+ }
p = chunk->pos;
if (*p == '[') {
parser->state = UCL_STATE_VALUE;