Update libdparse

This commit is contained in:
Hackerpilot 2014-08-18 17:15:58 -07:00
parent 415685e59f
commit ca34a0640e
2 changed files with 14 additions and 11 deletions

View File

@ -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