From cc08f1869681cd7f18f4ba622ed04883fde7725b Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 13 Oct 2016 14:17:58 +0200 Subject: [PATCH] pull libdparse and update dastworx --- dastworx/src/symlist.d | 9 +++------ etc/libdparse | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dastworx/src/symlist.d b/dastworx/src/symlist.d index eb8bf199..b6f7ced0 100644 --- a/dastworx/src/symlist.d +++ b/dastworx/src/symlist.d @@ -232,13 +232,10 @@ class SymbolListBuilder(ListFmt Fmt): ASTVisitor decl.accept(this); } - final override void visit(const AutoDeclaration decl) + final override void visit(const AutoDeclarationPart decl) { - if (decl.identifiers.length) - { - otherVisitorImpl(decl, SymbolType._variable, decl.identifiers[0].text, - decl.identifiers[0].line, decl.identifiers[0].column); - } + otherVisitorImpl(decl, SymbolType._variable, decl.identifier.text, + decl.identifier.line, decl.identifier.column); } final override void visit(const ClassDeclaration decl) diff --git a/etc/libdparse b/etc/libdparse index f8e7458d..bbc99161 160000 --- a/etc/libdparse +++ b/etc/libdparse @@ -1 +1 @@ -Subproject commit f8e7458d857064ca67ef8b314e20203b90bf75e0 +Subproject commit bbc9916182dc5c13950b25b48b2a6df944d52ab7