mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Fix import error format
This commit is contained in:
+1
-1
@@ -1686,7 +1686,7 @@ class LinkDotFindVisitor final : public VNVisitor {
|
||||
if (nodep->packagep() != v3Global.rootp()->stdPackagep()) {
|
||||
if (m_curSymp == m_statep->dunitEntp()) {
|
||||
nodep->v3warn(IMPORTSTAR,
|
||||
"Import::* in $unit scope may pollute global namespace");
|
||||
"'import::*' in $unit scope may pollute global namespace");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%Warning-IMPORTSTAR: t/t_lint_importstar_bad.v:11:8: Import::* in $unit scope may pollute global namespace
|
||||
%Warning-IMPORTSTAR: t/t_lint_importstar_bad.v:11:8: 'import::*' in $unit scope may pollute global namespace
|
||||
11 | import defs::*;
|
||||
| ^~~~
|
||||
... For warning description see https://verilator.org/warn/IMPORTSTAR?v=latest
|
||||
|
||||
Reference in New Issue
Block a user