Style.
This commit is contained in:
parent
e38120c6db
commit
7bbd5ab5b3
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue