forked from github/verilator
Commentary
This commit is contained in:
parent
ebef78a13e
commit
75416a3016
@ -136,6 +136,7 @@ private:
|
|||||||
// Check again
|
// Check again
|
||||||
modp = m_mods.rootp()->findIdFallback(modName)->nodep()->castNodeModule();
|
modp = m_mods.rootp()->findIdFallback(modName)->nodep()->castNodeModule();
|
||||||
if (!modp) {
|
if (!modp) {
|
||||||
|
// This shouldn't throw a message as parseFile will create a AstNotFoundModule for us
|
||||||
nodep->v3error("Can't resolve module reference: "<<modName);
|
nodep->v3error("Can't resolve module reference: "<<modName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user