Loader whitespace fixes.
This commit is contained in:
parent
d2fe876316
commit
a50907b0bd
|
@ -275,7 +275,10 @@ struct Loader
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Token[] result;
|
Token[] result;
|
||||||
while(scanner_.checkToken()){result ~= scanner_.getToken();}
|
while(scanner_.checkToken())
|
||||||
|
{
|
||||||
|
result ~= scanner_.getToken();
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch(YAMLException e)
|
catch(YAMLException e)
|
||||||
|
@ -291,7 +294,10 @@ struct Loader
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
immutable(Event)[] result;
|
immutable(Event)[] result;
|
||||||
while(parser_.checkEvent()){result ~= parser_.getEvent();}
|
while(parser_.checkEvent())
|
||||||
|
{
|
||||||
|
result ~= parser_.getEvent();
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
catch(YAMLException e)
|
catch(YAMLException e)
|
||||||
|
|
Loading…
Reference in a new issue