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
@@ -177,6 +177,7 @@ private:
m_modFuncs.clear();
nodep->iterateChildren(*this);
makePublicFuncWrappers();
m_modp = NULL;
}
virtual void visit(AstScope* nodep, AstNUser*) {
m_scopep = nodep;