vhdlpp: Error message for missing types in VTypePrimitive::get_width().
This commit is contained in:
parent
2f2539e557
commit
d4237774a5
|
|
@ -93,6 +93,11 @@ int VTypePrimitive::get_width(ScopeBase*) const
|
|||
|
||||
case CHARACTER:
|
||||
return 8;
|
||||
|
||||
default:
|
||||
std::cerr << "sorry: primitive type " << type_ <<
|
||||
" has no get_width() implementation." << std::endl;
|
||||
break;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue