Fix issues with AST output
This commit is contained in:
parent
5099545546
commit
d2502be9e9
|
@ -1 +1 @@
|
|||
Subproject commit 07e73629cbe8c4253cd0c0af6b9951761b82f608
|
||||
Subproject commit 1310007bc92fada7efa7d743e4d0c40e03e54e4b
|
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue