Skip to content

Commit

Permalink
If we have seen comments, do not skip key checks
Browse files Browse the repository at this point in the history
Issue: #291
  • Loading branch information
vstakhov committed Apr 20, 2024
1 parent bb92fa4 commit 92ed010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ucl_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,6 +1388,7 @@ ucl_parse_key (struct ucl_parser *parser, struct ucl_chunk *chunk,
if (!ucl_skip_comments (parser)) {
return false;
}
got_content = true;
p = chunk->pos;
}
else if (ucl_test_character (*p, UCL_CHARACTER_WHITESPACE_UNSAFE)) {
Expand Down

0 comments on commit 92ed010

Please sign in to comment.