Browse Source

[Fix] Fix UCL parsing of the multiline strings

tags/1.9.3
Vsevolod Stakhov 5 years ago
parent
commit
e9555957fd
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      contrib/libucl/ucl_parser.c

+ 1
- 1
contrib/libucl/ucl_parser.c View File

@@ -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 ++;

Loading…
Cancel
Save