vhdlpp: Fix error message for 'right attribute.

This commit is contained in:
Maciej Suminski 2014-10-14 10:58:01 +02:00
parent 97df6183a9
commit 4a779f43bd
1 changed files with 2 additions and 2 deletions

View File

@ -122,8 +122,8 @@ bool ExpAttribute::evaluate(Entity*ent, Architecture*arc, int64_t&val) const
const VTypeArray*arr = dynamic_cast<const VTypeArray*>(base_type);
if (arr == 0) {
cerr << get_fileline() << ": error: "
<< "Cannot apply the 'left attribute to non-array objects"
<< endl;
<< "Cannot apply the '" << name_
<< " attribute to non-array objects" << endl;
return false;
}