Fix "Missing coverage in PSL" due to "cover property $stop" statements.

"cover property" reported hierarchy now includes named begin blocks.
This commit is contained in:
Wilson Snyder
2008-11-05 10:23:03 -05:00
parent 5d2675e38a
commit 3d788b4b93
5 changed files with 53 additions and 9 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ private:
} else {
// V3Coverage assigned us a bucket to increment.
AstCoverInc* covincp = snodep->coverincp()->castCoverInc();
if (!covincp) snodep->v3fatalSrc("Missing coverage in PSL");
if (!covincp) snodep->v3fatalSrc("Missing AstCoverInc under assertion");
covincp->unlinkFrBack();
if (message!="") covincp->declp()->comment(message);
bodysp = covincp;