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
@@ -70,6 +70,7 @@ private:
m_modp = nodep;
m_constXCvt = true;
nodep->iterateChildren(*this);
m_modp = NULL;
}
virtual void visit(AstCaseItem* nodep, AstNUser*) {
m_constXCvt = false; // Avoid loosing the X's in casex