Commit fd9f11cb authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed references to non-existent record of/set of element XER descriptors (bug 544828)



Change-Id: Icfc9d61e5d9cf603d7515669a2327fe229a7bcc1
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 9c4e086a
......@@ -635,7 +635,8 @@ void Type::generate_code_xerdescriptor(output_struct* target)
size_t last_len = 2 + last_s.size(); // 2 for > \n
size_t bxer_len = 2 + bxer_name.size(); // 2 for > \n
if ((T_SEQOF == last->typetype || T_SETOF == last->typetype)) {
if ((T_SEQOF == last->typetype || T_SETOF == last->typetype) &&
last->get_ofType()->has_encoding(CT_XER)) {
oftype_descr_name = mprintf("&%s_xer_", last->u.seof.ofType->get_genname_typedescriptor(my_scope).c_str());
}
......
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