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) if (aliasDeclaration.initializers.length == 0)
{ {
SemanticSymbol* symbol = allocateSemanticSymbol( foreach (name; aliasDeclaration.identifierList.identifiers)
aliasDeclaration.name.text, {
CompletionKind.aliasName, SemanticSymbol* symbol = allocateSemanticSymbol(
symbolFile, name.text,
aliasDeclaration.name.index, CompletionKind.aliasName,
aliasDeclaration.type); symbolFile,
symbol.protection = protection; name.index,
symbol.parent = currentSymbol; aliasDeclaration.type);
symbol.acSymbol.doc = internString(aliasDeclaration.comment); symbol.protection = protection;
currentSymbol.addChild(symbol); symbol.parent = currentSymbol;
symbol.acSymbol.doc = internString(aliasDeclaration.comment);
currentSymbol.addChild(symbol);
}
} }
else else
{ {

@ -1 +1 @@
Subproject commit 2c5506a5702ae9fb95544f788cc0fd8b8606ba3d Subproject commit a91eb13e38a8560b9dda025b1c8ea837018e8252