fix yaml array parsing

This commit is contained in:
MihailRis 2025-10-13 23:09:24 +03:00
parent 5755c616f3
commit 026ae756cf
2 changed files with 9 additions and 1 deletions

View file

@ -139,8 +139,12 @@ void BasicParser<CharT>::skipLine() {
template<typename CharT>
void BasicParser<CharT>::skipEmptyLines() {
if (!hasNext()) {
return;
}
size_t initpos = pos;
skipWhitespace();
pos = linestart;
pos = std::max<size_t>(initpos, linestart);
}
template<typename CharT>