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 <lars@metafoo.de>
This commit is contained in:
parent
86546b5960
commit
e7934d5e66
20
pform.cc
20
pform.cc
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue