This commit is contained in:
parent
d04d352650
commit
b5e9281f1b
|
@ -1 +1 @@
|
|||
Subproject commit a10f5988b2b130ad2cae28c90a668067f98c82a7
|
||||
Subproject commit 04d176b699ffbcf755eff7276ddf989e6c35aaac
|
|
@ -126,10 +126,9 @@ class XMLPrinter : ASTVisitor
|
|||
override void visit(const AtAttribute atAttribute)
|
||||
{
|
||||
output.writeln("<atAttribute>");
|
||||
if (atAttribute.identifier.type == tok!"")
|
||||
atAttribute.accept(this);
|
||||
else
|
||||
if (atAttribute.identifier.type != tok!"")
|
||||
output.writeln("<identifier>", atAttribute.identifier.text, "</identifier>");
|
||||
atAttribute.accept(this);
|
||||
output.writeln("</atAttribute>");
|
||||
}
|
||||
|
||||
|
@ -286,11 +285,10 @@ class XMLPrinter : ASTVisitor
|
|||
|
||||
override void visit(const Deprecated deprecated_)
|
||||
{
|
||||
if (deprecated_.stringLiterals.length > 0)
|
||||
if (deprecated_.assignExpression !is null)
|
||||
{
|
||||
output.writeln("<deprecated>");
|
||||
foreach (literal; deprecated_.stringLiterals)
|
||||
output.writeln("<stringLiteral>", xmlEscape(literal.text), "</stringLiteral>");
|
||||
visit(deprecated_.assignExpression);
|
||||
output.writeln("</deprecated>");
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue