mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Cast as scope always under topscopes - no func change
git-svn-id: file://localhost/svn/verilator/trunk/verilator@765 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ private:
|
||||
AstNode::user3ClearTree(); // userp() used on entire tree
|
||||
AstNode::user4ClearTree(); // userp() used on entire tree
|
||||
|
||||
AstScope* scopep = nodep->scopep()->castScope();
|
||||
AstScope* scopep = nodep->scopep();
|
||||
if (!scopep) nodep->v3fatalSrc("TopScope has no scope\n");
|
||||
AstCFunc* evalp = NULL;
|
||||
for (AstNode* searchp = scopep->blocksp(); searchp; searchp=searchp->nextp()) {
|
||||
|
||||
Reference in New Issue
Block a user