mirror of
https://github.com/verilator/verilator.git
synced 2026-09-01 18:36:28 +02:00
Make 'disable isn't underneath a begin' into UNSUPPORTED error (#4699).
This commit is contained in:
+2
-1
@@ -341,7 +341,8 @@ class LinkJumpVisitor final : public VNVisitor {
|
||||
}
|
||||
// if (debug() >= 9) { UINFO(0, "\n"); blockp->dumpTree("- labeli: "); }
|
||||
if (!blockp) {
|
||||
nodep->v3error("disable isn't underneath a begin with name: " << nodep->prettyNameQ());
|
||||
nodep->v3warn(E_UNSUPPORTED,
|
||||
"disable isn't underneath a begin with name: " << nodep->prettyNameQ());
|
||||
} else if (AstBegin* const beginp = VN_CAST(blockp, Begin)) {
|
||||
// Jump to the end of the named block
|
||||
AstJumpLabel* const labelp = findAddLabel(beginp, false);
|
||||
|
||||
Reference in New Issue
Block a user