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:
Wilson Snyder
2006-08-29 19:10:55 +00:00
parent 81d2329e88
commit 268f0544be
9 changed files with 9 additions and 8 deletions
+1
View File
@@ -643,6 +643,7 @@ private:
}
virtual void visit(AstNodeFTaskRef* nodep, AstNUser* vup) {
// Function hasn't been widthed, so make it so.
if (!nodep->taskp()) nodep->v3fatalSrc("Unlinked");
if (nodep->taskp()->width()==0) {
if (m_taskDepth > 100) {
nodep->v3error("Unsupported: Recursive function or task call\n");