Loader whitespace fixes.

This commit is contained in:
Ferdinand Majerech 2014-07-19 14:38:35 +02:00
parent d2fe876316
commit a50907b0bd

View file

@ -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)