Fix #698
This commit is contained in:
parent
c611a872c7
commit
aeebbf85ae
|
@ -598,7 +598,8 @@ class XMLPrinter : ASTVisitor
|
|||
override void visit(const LabeledStatement labeledStatement)
|
||||
{
|
||||
output.writeln("<labeledStatement label=\"", labeledStatement.identifier.text, "\">");
|
||||
visit(labeledStatement.declarationOrStatement);
|
||||
if (labeledStatement.declarationOrStatement !is null)
|
||||
visit(labeledStatement.declarationOrStatement);
|
||||
output.writeln("</labeledStatement>");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue