After module, clear m_modp as not relevant any longer

This commit is contained in:
Wilson Snyder
2008-11-12 15:32:09 -05:00
parent cfc06ab2a7
commit adefa45fb4
14 changed files with 14 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ private:
//if (nodep->name() == "t_chg") m_debug = 9; else m_debug=0;
m_modp = nodep;
nodep->iterateChildren(*this);
m_modp = NULL;
}
virtual void visit(AstCell* nodep, AstNUser*) {
UINFO(4," CELL "<<nodep<<endl);