Repair of last 2 checkins; dots in wrong place when 2 level deep inline

This commit is contained in:
Wilson Snyder
2008-11-05 09:14:49 -05:00
parent 288d7bd9dc
commit 5d2675e38a
3 changed files with 20 additions and 2 deletions
+3 -1
View File
@@ -249,7 +249,9 @@ private:
virtual void visit(AstCoverDecl* nodep, AstNUser*) {
// Fix path in coverage statements
if (m_cellp) {
nodep->hier(m_cellp->prettyName()+"."+nodep->hier());
nodep->hier(m_cellp->prettyName()
+ (nodep->hier()!="" ? ".":"")
+ nodep->hier());
}
nodep->iterateChildren(*this);
}