From 0cc768260eed4a92eea70dbc1c1209dec67c0bae Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Tue, 10 Sep 2013 13:04:43 -0700 Subject: [PATCH] Fixed XML output defects found by xmllint --- astprinter.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astprinter.d b/astprinter.d index b969aa0..1f1326c 100644 --- a/astprinter.d +++ b/astprinter.d @@ -199,7 +199,7 @@ class XMLPrinter : ASTVisitor if (breakStatement.label.type == TokenType.invalid) output.writeln(""); else - output.writeln(""); + output.writeln(""); } override void visit(BaseClass baseClass) @@ -559,7 +559,7 @@ class XMLPrinter : ASTVisitor if (gotoStatement.label.type == TokenType.default_) output.writeln(""); else if (gotoStatement.label.type == TokenType.identifier) - output.writeln(""); + output.writeln(""); else { output.writeln("");