From 84eb9030a8707fc78456df2b14663c62272b6114 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sat, 15 Sep 2018 18:10:21 +0200 Subject: [PATCH] update dparse, and show invariants in sym list --- dastworx/src/symlist.d | 5 +++++ etc/libdparse | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dastworx/src/symlist.d b/dastworx/src/symlist.d index a4ff1e07..e28da1a9 100644 --- a/dastworx/src/symlist.d +++ b/dastworx/src/symlist.d @@ -330,6 +330,11 @@ class SymbolListBuilder(ListFmt Fmt): ASTVisitor identifierChain.identifiers[0].column); } + final override void visit(const Invariant decl) + { + otherVisitorImpl(decl, SymbolType._function, "invariant", decl.line, 0); + } + final override void visit(const MixinTemplateDeclaration decl) { namedVisitorImpl!(TemplateDeclaration, SymbolType._mixin)(decl.templateDeclaration); diff --git a/etc/libdparse b/etc/libdparse index 0a048e97..d2159d8f 160000 --- a/etc/libdparse +++ b/etc/libdparse @@ -1 +1 @@ -Subproject commit 0a048e97bc87ee19371258261689cd3d25d87b8a +Subproject commit d2159d8f647f0b95e4d596aa9844d378da3dd2ad