mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-09-07 02:27:29 +02:00
pform_makewire(): Fix indentation
The assignment handling block uses space-based indentation that does not match the surrounding code. Fix the indentation before changing the block. Signed-off-by: Lars-Peter Clausen <[email protected]>
This commit is contained in:
@@ -2714,17 +2714,17 @@ void pform_makewire(const struct vlltype&li,
|
||||
while (! assign_list->empty()) {
|
||||
decl_assignment_t*first = assign_list->front();
|
||||
assign_list->pop_front();
|
||||
if (PExpr*expr = first->expr.release()) {
|
||||
if (type == NetNet::REG || type == NetNet::IMPLICIT_REG) {
|
||||
pform_make_var_init(li, first->name, expr);
|
||||
} else {
|
||||
PEIdent*lval = new PEIdent(first->name.first,
|
||||
if (PExpr*expr = first->expr.release()) {
|
||||
if (type == NetNet::REG || type == NetNet::IMPLICIT_REG) {
|
||||
pform_make_var_init(li, first->name, expr);
|
||||
} else {
|
||||
PEIdent*lval = new PEIdent(first->name.first,
|
||||
first->name.second);
|
||||
FILE_NAME(lval, li);
|
||||
PGAssign*ass = pform_make_pgassign(lval, expr, delay, str);
|
||||
FILE_NAME(ass, li);
|
||||
}
|
||||
}
|
||||
FILE_NAME(lval, li);
|
||||
PGAssign*ass = pform_make_pgassign(lval, expr, delay, str);
|
||||
FILE_NAME(ass, li);
|
||||
}
|
||||
}
|
||||
delete first;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user