diff --git a/libdparse b/libdparse index 5323bfc..6f98e08 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 5323bfc2c5f8303dee8ed3d66eeaa3c0944485f0 +Subproject commit 6f98e085edfdabe571fd57164370d3f27f452c52 diff --git a/src/astprinter.d b/src/astprinter.d index e3738dc..e0d309d 100644 --- a/src/astprinter.d +++ b/src/astprinter.d @@ -40,7 +40,14 @@ class XMLPrinter : ASTVisitor override void visit(const AlignAttribute alignAttribute) { - output.writeln(""); + if (alignAttribute.assignExpression is null) + output.writeln(""); + else + { + output.write(""); + } } override void visit(const AndAndExpression andAndExpression)