mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Fix error format (#2095).
This commit is contained in:
parent
fb689bbb19
commit
53c4c7d540
@ -646,9 +646,9 @@ public:
|
||||
if (modp->hierBlock()) {
|
||||
refLocationp->v3error("Cannot access inside hierarchical block");
|
||||
} else if (VN_IS(modp, NotFoundModule)) {
|
||||
refLocationp->v3error(
|
||||
"Dotted reference to cell that refers to missing module: "
|
||||
<< modp->prettyNameQ());
|
||||
refLocationp->v3error("Dotted reference to instance that refers to "
|
||||
"missing module/interface: "
|
||||
<< modp->prettyNameQ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
%Error: t/t_inst_missing_dot_bad.v:9:22: Dotted reference to cell that refers to missing module: 'missing'
|
||||
%Error: t/t_inst_missing_dot_bad.v:9:22: Dotted reference to instance that refers to missing module/interface: 'missing'
|
||||
9 | $display("a=", missing.a);
|
||||
| ^~~~~~~
|
||||
%Error: t/t_inst_missing_dot_bad.v:9:30: Can't find definition of 'a' in dotted variable: 'missing.a'
|
||||
|
Loading…
Reference in New Issue
Block a user