vhdlpp: Error message for missing types in VTypePrimitive::get_width().

This commit is contained in:
Maciej Suminski 2015-03-27 11:43:09 +01:00
parent 2f2539e557
commit d4237774a5
1 changed files with 5 additions and 0 deletions

View File

@ -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;