Fix MISINDENT on SweRV verilator_ext_tests with GenBlock (#6470 repair)

This commit is contained in:
Wilson Snyder 2025-09-23 19:49:57 -04:00
parent f719d66129
commit 4e00539308
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class LinkParseVisitor final : public VNVisitor {
if (!nextp && VN_IS(nodep, While) && VN_IS(nodep->backp(), Begin))
nextp = nodep->backp()->nextp();
if (!nextp) return;
if (VN_IS(childp, Begin)) return;
if (VN_IS(childp, Begin) || VN_IS(childp, GenBlock)) return;
FileLine* const nodeFlp = nodep->fileline();
FileLine* const childFlp = childp->fileline();
FileLine* const nextFlp = nextp->fileline();