Commit 0f8d4a41 authored by Lev Walkin's avatar Lev Walkin

tolerate bit string extensibility

parent be3a0c52
......@@ -246,12 +246,12 @@ asn1c_lang_C_type_BIT_STRING(arg_t *arg) {
out_name_chain(arg, ONC_avoid_keywords);
OUT(" {\n");
TQ_FOR(v, &(expr->members), next) {
eidx++;
if(v->expr_type != A1TC_UNIVERVAL) {
OUT("/* Unexpected BIT STRING element: %s */\n",
v->Identifier);
continue;
}
eidx++;
OUT("\t");
out_name_chain(arg, ONC_noflags);
OUT("_%s", MKID(v));
......
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