Update astprinter.d

Removed baraces for single if expression
changed spaces to tabs
This commit is contained in:
liranz 2014-04-24 22:12:10 +03:00
parent 2f4d53338e
commit fafb383e66
1 changed files with 2 additions and 3 deletions

View File

@ -592,9 +592,8 @@ class XMLPrinter : ASTVisitor
{
output.writeln("<gotoStatement>");
output.writeln("<case>");
if (gotoStatement.expression) {
visit(gotoStatement.expression);
}
if (gotoStatement.expression)
visit(gotoStatement.expression);
output.writeln("</case>");
output.writeln("</gotoStatement>");
}