From 8f6015aad5ac217638673cf74d5cc08d377d0c0d Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 24 Oct 2019 22:50:50 -0400 Subject: [PATCH] Fix copy-and-paste error in undriven checks. --- src/V3Undriven.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/V3Undriven.cpp b/src/V3Undriven.cpp index 76cf9b961..050c3b81e 100644 --- a/src/V3Undriven.cpp +++ b/src/V3Undriven.cpp @@ -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;