mirror of
https://github.com/verilator/verilator.git
synced 2025-01-09 16:17:36 +00:00
Fix wrong error point, bug210
This commit is contained in:
parent
2da9d46ca6
commit
295faf726b
@ -329,7 +329,7 @@ private:
|
||||
// Has to be direct assignment without any EXTRACTing.
|
||||
if (nodep->lhsp()->castVarRef() && !m_sideEffect) {
|
||||
AstVarScope* vscp = nodep->lhsp()->castVarRef()->varScopep();
|
||||
if (!vscp) vscp->v3fatalSrc("Scope lost on variable");
|
||||
if (!vscp) nodep->v3fatalSrc("Scope lost on variable");
|
||||
m_lifep->simpleAssign(vscp, nodep);
|
||||
} else {
|
||||
nodep->lhsp()->iterateAndNext(*this);
|
||||
|
Loading…
Reference in New Issue
Block a user