mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Fix MISINDENT on SweRV verilator_ext_tests with GenBlock (#6470 repair)
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user