Commit b5b336a8 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets just save the type temporarily.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 88986a78
......@@ -10521,8 +10521,9 @@ error:
if (!erroneous && var_type != NULL) {
// store the variable type in case it's decoded (since this cannot
// be extracted from the value type with the sub-references)
v[i]->set_dec_type(var_type->get_type_refd());
v[i]->get_dec_type()->chk_coding(false,
Type* dec_type = var_type->get_type_refd();
v[i]->set_dec_type(dec_type);
dec_type->chk_coding(false,
v[i]->get_var_ref()->get_my_scope()->get_scope_mod());
}
}
......
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