Skip to content

Commit

Permalink
vhdlpp: Corrected an error message for attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
msuminsk committed May 20, 2015
1 parent bb2e678 commit bc83d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vhdlpp/expression_evaluate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ bool ExpAttribute::evaluate(ScopeBase*scope, int64_t&val) const
const VTypeArray*arr = dynamic_cast<const VTypeArray*>(base_type);
if (arr == 0) {
cerr << endl << get_fileline() << ": error: "
<< "Cannot apply the 'length attribute to non-array objects"
<< "Cannot apply the '" << name_ << " attribute to non-array objects"
<< endl;
ivl_assert(*this, false);
return false;
Expand Down

0 comments on commit bc83d29

Please sign in to comment.