mirror of https://gitlab.com/basile.b/dexed.git
halstead & symlist, activate postblit visit
This commit is contained in:
parent
385f73050c
commit
e914d9d9aa
|
@ -208,13 +208,12 @@ private final class HalsteadMetric: ASTVisitor
|
|||
endFunction("dtorL" ~ to!string(sc.line), sc.line);
|
||||
}
|
||||
|
||||
//TODO-clibdparse: Postblit needs position and line and column
|
||||
/*override void visit(const(Postblit) pb)
|
||||
override void visit(const(Postblit) pb)
|
||||
{
|
||||
beginFunction;
|
||||
pb.accept(this);
|
||||
endFunction("postblit" ~ to!string(pb.line), pb.line);
|
||||
}*/
|
||||
}
|
||||
|
||||
override void visit(const(PrimaryExpression) primary)
|
||||
{
|
||||
|
|
|
@ -299,8 +299,7 @@ class SymbolListBuilder(ListFmt Fmt): ASTVisitor
|
|||
|
||||
final override void visit(const Postblit pb)
|
||||
{
|
||||
//TODO: activate PostBlit visit.
|
||||
//otherVisitorImpl(pb, SymbolType._function, "postblit", pb.line, pb.column);
|
||||
otherVisitorImpl(pb, SymbolType._function, "postblit", pb.line, pb.column);
|
||||
pb.accept(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit eea9a95cbbf97b66111d8d3562131e5e0c6fa209
|
||||
Subproject commit c5fe287cbf672d3710ea62893851a175c3e7f9d3
|
Loading…
Reference in New Issue