Merge pull request #699 from WebFreak001/fix-698
Fix #698 merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
This commit is contained in:
commit
b311b91f2a
|
@ -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