Internals: Create AstNodeModule in prep for packages

This commit is contained in:
Wilson Snyder
2009-11-07 06:20:20 -05:00
parent 377f194837
commit e0bca07e06
49 changed files with 243 additions and 241 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ private:
typedef multimap<string,AstCFunc*> FuncMmap;
// STATE
AstModule* m_modp; // Current module
AstNodeModule* m_modp; // Current module
AstScope* m_scopep; // Current scope
bool m_needThis; // Add thisp to function
FuncMmap m_modFuncs; // Name of public functions added
@@ -179,7 +179,7 @@ private:
}
// VISITORS
virtual void visit(AstModule* nodep, AstNUser*) {
virtual void visit(AstNodeModule* nodep, AstNUser*) {
m_modp = nodep;
m_modFuncs.clear();
nodep->iterateChildren(*this);