nextEmptyLine is always false so it is removed from the expression

This commit is contained in:
Alexander Anokhin 2018-11-22 19:02:54 +03:00
parent 601062f040
commit 3c2fab8853

View File

@ -183,7 +183,7 @@ std::string ScanScalar(Stream& INPUT, ScanScalarParams& params) {
case FOLD_FLOW:
if (nextEmptyLine) {
scalar += "\n";
} else if (!emptyLine && !nextEmptyLine && !escapedNewline) {
} else if (!emptyLine && !escapedNewline) {
scalar += " ";
}
break;