mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix formatting vars in protect-lib wrapper
This commit is contained in:
@@ -263,7 +263,7 @@ private:
|
||||
m_seqAssignsp = new AstTextBlock(fl, "if (last_seq_seqnum__V > "
|
||||
"last_combo_seqnum__V) begin\n");
|
||||
txtp->addNodep(m_seqAssignsp);
|
||||
m_comboAssignsp = new AstTextBlock(fl, "end else begin\n");
|
||||
m_comboAssignsp = new AstTextBlock(fl, "end\nelse begin\n");
|
||||
txtp->addNodep(m_comboAssignsp);
|
||||
txtp->addText(fl, "end\n");
|
||||
} else {
|
||||
@@ -437,7 +437,6 @@ private:
|
||||
AstVar* newVarp
|
||||
= new AstVar(varp->fileline(), AstVarType::VAR, varp->name() + suffix, varp->dtypep());
|
||||
textp->addNodep(newVarp);
|
||||
textp->addText(varp->fileline(), ";\n");
|
||||
}
|
||||
|
||||
void handleOutput(AstVar* varp) {
|
||||
|
||||
Reference in New Issue
Block a user