This commit is contained in:
Ferdinand Majerech 2014-07-26 02:29:27 +02:00
parent e38120c6db
commit 7bbd5ab5b3

View file

@ -1162,7 +1162,8 @@ final class Scanner
}
/// Scan a block scalar token with specified style.
Token scanBlockScalar(const ScalarStyle style) @trusted pure
Token scanBlockScalar(const ScalarStyle style)
@trusted pure
{
const startMark = reader_.mark;
@ -1180,6 +1181,7 @@ final class Scanner
// Determine the indentation level and go to the first non-empty line.
Mark endMark;
uint indent = max(1, indent_ + 1);
reader_.sliceBuilder.begin();
if(increment == int.min)
{