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
@@ -53,6 +53,7 @@ public:
putbs("module "+modClassName(nodep)+";\n");
nodep->iterateChildren(*this);
puts("endmodule\n");
m_modp = NULL;
}
virtual void visit(AstNodeFTask* nodep, AstNUser*) {
putbs(nodep->castTask() ? "task ":"function ");