From ca34a0640eacc8cc554509973473c8c35d4c02cd Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Mon, 18 Aug 2014 17:15:58 -0700 Subject: [PATCH] Update libdparse --- conversion/first.d | 23 +++++++++++++---------- libdparse | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/conversion/first.d b/conversion/first.d index 679a7fe..1149a02 100644 --- a/conversion/first.d +++ b/conversion/first.d @@ -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 { diff --git a/libdparse b/libdparse index 2c5506a..a91eb13 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 2c5506a5702ae9fb95544f788cc0fd8b8606ba3d +Subproject commit a91eb13e38a8560b9dda025b1c8ea837018e8252