mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 18:58:51 +02:00
Fix sformatf internal error on initial automatics (#5423)
This commit is contained in:
@@ -376,6 +376,7 @@ class LinkResolveVisitor final : public VNVisitor {
|
||||
expectFormat(nodep, nodep->text(), nodep->exprsp(), true);
|
||||
}
|
||||
void visit(AstSFormatF* nodep) override {
|
||||
if (nodep->user2SetOnce()) return;
|
||||
iterateChildren(nodep);
|
||||
// Cleanup old-school displays without format arguments
|
||||
if (!nodep->hasFormat()) {
|
||||
|
||||
Reference in New Issue
Block a user