vhdlpp: Generics from external packages are accepted (warning instead of error).

This commit is contained in:
Maciej Suminski 2015-02-11 11:44:08 +01:00
parent 763c6fe3c9
commit f51c037432
1 changed files with 1 additions and 2 deletions

View File

@ -98,9 +98,8 @@ int ComponentInstantiation::elaborate(Entity*ent, Architecture*arc)
// exists in the component declaration
const InterfacePort*iparm = base->find_generic(cur->first);
if (iparm == 0) {
cerr << get_fileline() << ": error: No generic " << cur->first
cerr << get_fileline() << ": warning: No generic " << cur->first
<< " in component " << cname_ << "." << endl;
errors += 1;
continue;
}