diff --git a/libdparse b/libdparse index 07e7362..1310007 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 07e73629cbe8c4253cd0c0af6b9951761b82f608 +Subproject commit 1310007bc92fada7efa7d743e4d0c40e03e54e4b diff --git a/src/astprinter.d b/src/astprinter.d index 6509b8a..41a3fd2 100644 --- a/src/astprinter.d +++ b/src/astprinter.d @@ -858,7 +858,11 @@ class XMLPrinter : ASTVisitor override void visit(const Type2 type2) { if (type2.builtinType != tok!"") + { output.writeln("<type2>", str(type2.builtinType), "</type2>"); + if (type2.identifierOrTemplateChain !is null) + visit(type2.identifierOrTemplateChain); + } else { output.writeln("<type2>");