Fix V3Table not deleting next nodes.

git-svn-id: file://localhost/svn/verilator/trunk/verilator@757 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder 2006-08-27 15:07:59 +00:00
parent 1c0b6d7ef3
commit 5105a0f7f5
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ indicates the contributor was also the author of the fix; Thanks!
**** Fix naming of generate for blocks to prevent non-inline name conflict.
**** Fix redundant statements remaining after table optimization.
* Verilator 3.542 08/11/2006 Stable
**** Fix extraneous UNSIGNED warning when comparing genvars. [David Hewson]

View File

@ -501,7 +501,7 @@ private:
// Link it in.
if (AstAlways* nodeap = nodep->castAlways()) {
// Keep sensitivity list, but delete all else
nodeap->bodysp()->unlinkFrBack()->deleteTree();
nodeap->bodysp()->unlinkFrBackWithNext()->deleteTree();
nodeap->addStmtp(stmtsp);
if (debug()>=6) nodeap->dumpTree(cout," table_new: ");
} else {