);
}
command.setCondition( compiler.parseExpression( ")" ) );
parser.searchNext( '{' );
final Block body = new Block();
final BlockKeyword keyword = new BlockKeyword();
keyword.parse( compiler, parser, body );
command.setIfBranch( body );
String token = parser.next( ClassCompiler.WS + "{}", false, true, true );
if( token == null )
{
throw new CompilerException(
"Error reading file",
parser.getStartLine(),
parser.getStartChar()
);
}
else if( token.equals( "else" ) )
{
parser.searchNext( '{' );
final Block elseBody = new Block();
final BlockKeyword elsekKeyword = new BlockKeyword();
elsekKeyword.parse( compiler, parser, elseBody );
command.setElseBranch( elseBody );
}
else