From e7934d5e66e7fe2e5959285fc8a33288b53270f0 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Sun, 17 May 2026 11:05:02 -0700 Subject: [PATCH] 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 --- pform.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pform.cc b/pform.cc index 17a6bdbac..21d386d73 100644 --- a/pform.cc +++ b/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; } }