From bc83d2914a4b1ca58d665d8840bf204a1362074d Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 20 May 2015 12:02:22 +0200 Subject: [PATCH] vhdlpp: Corrected an error message for attributes. --- vhdlpp/expression_evaluate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vhdlpp/expression_evaluate.cc b/vhdlpp/expression_evaluate.cc index b67cbd5da..54bf704b4 100644 --- a/vhdlpp/expression_evaluate.cc +++ b/vhdlpp/expression_evaluate.cc @@ -106,7 +106,7 @@ bool ExpAttribute::evaluate(ScopeBase*scope, int64_t&val) const const VTypeArray*arr = dynamic_cast(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;