From 13bede08e945a28e77b716bda1c13d989467eb78 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 26 Mar 2015 22:34:57 +0100 Subject: [PATCH] nothing --- cesyms/cesyms.d | 18 +++++++++--------- libdparse | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cesyms/cesyms.d b/cesyms/cesyms.d index ed7a1e43..c478e4fd 100644 --- a/cesyms/cesyms.d +++ b/cesyms/cesyms.d @@ -186,7 +186,7 @@ class SymbolListBuilder : ASTVisitor /// returns a new symbol if the declarator is based on a Token named "name". final Symbol * addDeclaration(DT)(DT adt) { - static if + static if ( is(DT == const(EponymousTemplateDeclaration)) || is(DT == const(AnonymousEnumMember)) || @@ -194,11 +194,11 @@ class SymbolListBuilder : ASTVisitor is(DT == const(ClassDeclaration)) || is(DT == const(Declarator)) || is(DT == const(EnumDeclaration)) || - is(DT == const(FunctionDeclaration)) || - is(DT == const(InterfaceDeclaration)) || - is(DT == const(StructDeclaration)) || + is(DT == const(FunctionDeclaration)) || + is(DT == const(InterfaceDeclaration)) || + is(DT == const(StructDeclaration)) || is(DT == const(TemplateDeclaration)) || - is(DT == const(UnionDeclaration)) + is(DT == const(UnionDeclaration)) ) { @@ -206,8 +206,8 @@ class SymbolListBuilder : ASTVisitor auto result = construct!Symbol; result.name = adt.name.text; result.line = adt.name.line; - result.col = adt.name.column; - parent.subs ~= result; + result.col = adt.name.column; + parent.subs ~= result; return result; } @@ -226,9 +226,9 @@ class SymbolListBuilder : ASTVisitor scope(exit) parent = previousParent; parent = newSymbol; dt.accept(this); - } + } } - + /// visitor implementation for special cases. final void otherVisitorImpl(SymbolType st, string name, size_t line, size_t col) { diff --git a/libdparse b/libdparse index 01bdacb3..617b7c6f 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 01bdacb37d39971c72a600fb0a3b1ad181e5bde4 +Subproject commit 617b7c6f2c33cf7121c75ed2b88460d1416eb85c