Fix copy-and-paste error in undriven checks.

This commit is contained in:
Wilson Snyder 2019-10-24 22:50:50 -04:00
parent 352adbed74
commit 8f6015aad5

View File

@ -379,18 +379,16 @@ private:
{
m_inProcAssign = true;
iterateChildren(nodep);
m_inProcAssign = false;
}
m_inProcAssign = prevProc;
}
virtual void visit(AstAssignW* nodep) {
bool prevCont = m_inProcAssign;
bool prevCont = m_inContAssign;
{
m_inContAssign = true;
iterateChildren(nodep);
m_inContAssign = false;
}
m_inProcAssign = prevCont;
m_inContAssign = prevCont;
}
virtual void visit(AstAlways* nodep) {
AstAlways* prevAlwp = m_alwaysCombp;