Style.
This commit is contained in:
parent
a19131417e
commit
f2cda9e799
|
@ -1228,9 +1228,9 @@ final class Scanner
|
||||||
// loop) will never roll back data written in this if() block.
|
// loop) will never roll back data written in this if() block.
|
||||||
if(reader_.column == indent && reader_.peek() != '\0')
|
if(reader_.column == indent && reader_.peek() != '\0')
|
||||||
{
|
{
|
||||||
//Unfortunately, folding rules are ambiguous.
|
// Unfortunately, folding rules are ambiguous.
|
||||||
|
|
||||||
//This is the folding according to the specification:
|
// This is the folding according to the specification:
|
||||||
if(style == ScalarStyle.Folded && lineBreak == "\n" &&
|
if(style == ScalarStyle.Folded && lineBreak == "\n" &&
|
||||||
leadingNonSpace && !" \t"d.canFind(reader_.peek()))
|
leadingNonSpace && !" \t"d.canFind(reader_.peek()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue