Commit 742a1966 authored by Bi-Ruei, Chiu's avatar Bi-Ruei, Chiu Committed by Lev Walkin

Fix 'FATAL: Does not look like criticality is a CLASS field reference (xxxx)...

Fix 'FATAL: Does not look like criticality is a CLASS field reference (xxxx) denoting a type one line xxx'
parent 069c0765
......@@ -2625,8 +2625,10 @@ emit_member_type_selector(arg_t *arg, asn1p_expr_t *expr, asn1c_ioc_table_and_ob
if(expr->meta_type != AMT_TYPEREF
|| expr->expr_type != A1TC_REFERENCE
|| expr->reference->comp_count != 2
|| expr->reference->components[1].lex_type
!= RLT_AmpUppercase) {
|| ((expr->reference->components[1].lex_type
!= RLT_AmpUppercase)
&& (expr->reference->components[1].lex_type
!= RLT_Amplowercase))) {
FATAL(
"Does not look like %s is a CLASS field reference (%s) denoting a type on line "
"%d",
......
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