Convert unnamed error to new PKGNODECL error.

This commit is contained in:
Wilson Snyder
2020-08-22 19:42:21 -04:00
parent 2d7d2c5992
commit decbf79f39
3 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -201,8 +201,8 @@ private:
UINFO(2, "Link Module: " << nodep << endl);
if (nodep->fileline()->filebasenameNoExt() != nodep->prettyName()
&& !v3Global.opt.isLibraryFile(nodep->fileline()->filename())
&& !VN_IS(nodep, NotFoundModule)
&& !nodep->recursiveClone() && !nodep->internal()) {
&& !VN_IS(nodep, NotFoundModule) && !nodep->recursiveClone()
&& !nodep->internal()) {
// We only complain once per file, otherwise library-like files
// have a huge mess of warnings
if (m_declfnWarned.find(nodep->fileline()->filename()) == m_declfnWarned.end()) {