Update dependencies
This commit is contained in:
parent
ec4a14e43e
commit
47f454711d
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
||||||
Subproject commit 26649393504a8617760f9c7fd99b31f0362f095e
|
Subproject commit 84ed30c0786c8f1f1954c79152820b79aebece13
|
|
@ -1 +1 @@
|
||||||
Subproject commit d928584e9e05bb003d1e378aa921899010b0a670
|
Subproject commit 4d876562b4862a98bf1b6b6bf4fd07af96506a54
|
|
@ -248,9 +248,9 @@ private:
|
||||||
if (storageClass.token == tok!"enum")
|
if (storageClass.token == tok!"enum")
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
foreach (attr; dec.attributes)
|
foreach (sc; dec.storageClasses)
|
||||||
{
|
{
|
||||||
if (attr.attribute.type == tok!"immutable" || attr.attribute.type == tok!"const")
|
if (sc.token == tok!"immutable" || sc.token == tok!"const")
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (dec.type !is null)
|
if (dec.type !is null)
|
||||||
|
|
|
@ -145,6 +145,11 @@ class XMLPrinter : ASTVisitor
|
||||||
override void visit(const AutoDeclaration autoDec)
|
override void visit(const AutoDeclaration autoDec)
|
||||||
{
|
{
|
||||||
output.writeln("<autoDeclaration>");
|
output.writeln("<autoDeclaration>");
|
||||||
|
output.writeln("<storageClasses>");
|
||||||
|
foreach(sc; autoDec.storageClasses)
|
||||||
|
visit(sc);
|
||||||
|
output.writeln("</storageClasses>");
|
||||||
|
|
||||||
for (size_t i = 0; i < autoDec.identifiers.length; i++)
|
for (size_t i = 0; i < autoDec.identifiers.length; i++)
|
||||||
{
|
{
|
||||||
output.writeln("<item>");
|
output.writeln("<item>");
|
||||||
|
|
Loading…
Reference in New Issue