mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Emit newlines for AstCStmt automatically. No functional change intended.
This commit is contained in:
+1
-1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user