mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-29 01:03:29 +02:00
vhdlpp: Corrected an error message for attributes.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user