Internals: AstComment optional suppression of at. No functional change intended.

This commit is contained in:
Wilson Snyder
2019-09-23 18:44:45 -04:00
parent d6ac351dcb
commit 8490046028
7 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ private:
m_namer.scopep()->addActivep(m_scopeFinalp);
}
nodep->unlinkFrBack();
m_scopeFinalp->addStmtsp(new AstComment(nodep->fileline(), nodep->typeName()));
m_scopeFinalp->addStmtsp(new AstComment(nodep->fileline(), nodep->typeName(), true));
m_scopeFinalp->addStmtsp(nodep->bodysp()->unlinkFrBackWithNext());
nodep->deleteTree(); VL_DANGLING(nodep);
}