Commit 6556910a authored by Kristof Szabados's avatar Kristof Szabados
Browse files

let's be honest. It is not disabled, it is not enabled ... it is forced.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent b63b8ea4
......@@ -6535,8 +6535,8 @@ namespace Common {
for (;;) {
// For ASN.1 types, the answer depends solely on the -a switch.
// They are all considered to have Basic (i.e. useless) XER,
// unless the -a switch says removes XER from all ASN.1 types.
// They are all considered to not have XER,
// unless the -a switch says force XER from all ASN.1 types.
if (t->is_asn1()) return memory.remember(t,
asn1_xer ? ANSWER_YES : ANSWER_NO);
else if (t->is_ref()) t = t->get_type_refd();
......
......@@ -874,7 +874,7 @@ void Type::chk_encodings()
add_coding(string(get_encoding_name(CT_JSON)), Ttcn::MOD_NONE, true);
add_coding(string(get_encoding_name(CT_OER)), Ttcn::MOD_NONE, true);
if (asn1_xer) {
// XER encoding for ASN.1 types can be disabled with a command line option
// XER encoding for ASN.1 types can be forced with a command line option
add_coding(string(get_encoding_name(CT_XER)), Ttcn::MOD_NONE, true);
}
break;
......
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