From 6556910a5facc58e3c74f72dc6c0f63662eaa88b Mon Sep 17 00:00:00 2001 From: Kristof Szabados <Kristof.Szabados@ericsson.com> Date: Sat, 25 Aug 2018 18:10:24 +0200 Subject: [PATCH] let's be honest. It is not disabled, it is not enabled ... it is forced. Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com> --- compiler2/Type.cc | 4 ++-- compiler2/Type_chk.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler2/Type.cc b/compiler2/Type.cc index cb3d27a6f..7705ce284 100644 --- a/compiler2/Type.cc +++ b/compiler2/Type.cc @@ -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(); diff --git a/compiler2/Type_chk.cc b/compiler2/Type_chk.cc index 992567845..139c3bd9e 100644 --- a/compiler2/Type_chk.cc +++ b/compiler2/Type_chk.cc @@ -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; -- GitLab