Internals: Emit newlines for AstCStmt automatically. No functional change intended.

This commit is contained in:
Wilson Snyder
2025-09-26 08:25:47 -04:00
parent 62880c125e
commit 4ad1dde723
16 changed files with 841 additions and 820 deletions
+1 -1
View File
@@ -1161,7 +1161,7 @@ class DelayedVisitor final : public VNVisitor {
AstTextBlock* const blockp = new AstTextBlock{flp};
blockp->addText(flp, "vlSymsp->fireEvent(", true);
blockp->addNodesp(eventp);
blockp->addText(flp, ");\n", true);
blockp->addText(flp, ");", true);
AstNode* newp = new AstCStmt{flp, blockp};
if (nodep->isDelayed()) {