Skip to content
Permalink
Browse files

Fix remain calculations

  • Loading branch information...
vstakhov committed Apr 25, 2019
1 parent 23d99f3 commit 42c4d05ca2c00e087376ff73a2dae906be7cad6d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ucl_parser.c
@@ -1810,8 +1810,8 @@ ucl_parse_value (struct ucl_parser *parser, struct ucl_chunk *chunk)
}
if (*p =='\n') {
/* Set chunk positions and start multiline parsing */
chunk->remain -= p - c + 1;
c += 2;
chunk->remain -= p - c;
chunk->pos = p + 1;
chunk->column = 0;
chunk->line ++;

0 comments on commit 42c4d05

Please sign in to comment.
You can’t perform that action at this time.