Commit 13d6b662 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed false error with 'activate' parameter (Bug 565952)


Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
Change-Id: Ic006a3fe0f905297937de95deb08fbebbc284bfb
parent 7fae07a4
......@@ -735,8 +735,9 @@ namespace Ttcn {
Free(expr_cache);
}
bool Reference::has_parameters() const
bool Reference::has_parameters()
{
get_refd_assignment(); // make sure the reference is checked
return params_checked ? parlist != NULL : params != NULL;
}
......
......@@ -364,7 +364,7 @@ namespace Ttcn {
Reference(Identifier *p_modid, Identifier *p_id,
ParsedActualParameters *p_params, reftype_t p_reftype = REF_BASIC);
~Reference();
virtual bool has_parameters() const;
virtual bool has_parameters();
virtual Reference *clone() const;
virtual void set_fullname(const string& p_fullname);
virtual void set_my_scope(Scope* p_scope);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment