Update libdparse
This commit is contained in:
parent
c5392e7adb
commit
25b856f607
|
|
@ -1 +1 @@
|
|||
Subproject commit 4c846b616bb38c74c69eb63ed39aeb7ac4511f9e
|
||||
Subproject commit 16b75e718643bd0ca75ed2bcea6ce2a3dd6ebf37
|
||||
|
|
@ -271,8 +271,13 @@ class XMLPrinter : ASTVisitor
|
|||
|
||||
override void visit(const Deprecated deprecated_)
|
||||
{
|
||||
if (deprecated_.stringLiteral.type != tok!"")
|
||||
output.writeln("<deprecated>", deprecated_.stringLiteral.text, "</deprecated>");
|
||||
if (deprecated_.stringLiterals.length > 0)
|
||||
{
|
||||
output.writeln("<deprecated>");
|
||||
foreach (literal; deprecated_.stringLiterals)
|
||||
output.writeln("<stringLiteral>", xmlEscape(literal.text), "</stringLiteral>");
|
||||
output.writeln("</deprecated>");
|
||||
}
|
||||
else
|
||||
output.writeln("<deprecated/>");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue