Fix certain generate-if cells causing clone error.

This commit is contained in:
Wilson Snyder
2008-12-09 20:59:22 -05:00
parent d3d1291d5a
commit adebc99e49
6 changed files with 85 additions and 14 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ private:
virtual void visit(AstModule* nodep, AstNUser*) {
m_stmtCnt = 0;
m_modp = nodep;
m_modp->user2(true);
m_modp->user2(true); // Allowed = true
if (m_modp->modPublic()) cantInline("modPublic");
//
nodep->iterateChildren(*this);