Update libdparse
This commit is contained in:
parent
415685e59f
commit
ca34a0640e
|
@ -226,16 +226,19 @@ final class FirstPass : ASTVisitor
|
|||
{
|
||||
if (aliasDeclaration.initializers.length == 0)
|
||||
{
|
||||
SemanticSymbol* symbol = allocateSemanticSymbol(
|
||||
aliasDeclaration.name.text,
|
||||
CompletionKind.aliasName,
|
||||
symbolFile,
|
||||
aliasDeclaration.name.index,
|
||||
aliasDeclaration.type);
|
||||
symbol.protection = protection;
|
||||
symbol.parent = currentSymbol;
|
||||
symbol.acSymbol.doc = internString(aliasDeclaration.comment);
|
||||
currentSymbol.addChild(symbol);
|
||||
foreach (name; aliasDeclaration.identifierList.identifiers)
|
||||
{
|
||||
SemanticSymbol* symbol = allocateSemanticSymbol(
|
||||
name.text,
|
||||
CompletionKind.aliasName,
|
||||
symbolFile,
|
||||
name.index,
|
||||
aliasDeclaration.type);
|
||||
symbol.protection = protection;
|
||||
symbol.parent = currentSymbol;
|
||||
symbol.acSymbol.doc = internString(aliasDeclaration.comment);
|
||||
currentSymbol.addChild(symbol);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2c5506a5702ae9fb95544f788cc0fd8b8606ba3d
|
||||
Subproject commit a91eb13e38a8560b9dda025b1c8ea837018e8252
|
Loading…
Reference in New Issue