diff --git a/compiler2/Type.cc b/compiler2/Type.cc index cb3d27a6fc813d3b923e516cb8199f201ea3d5d6..7705ce2847a94522c1fc6fd56c565bb7afab9ea6 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 992567845a6fb94aab570ce07790b0c9e24a26b3..139c3bd9e1a5fcbbabfc6e0fb13174eee7360b0c 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;