tolerate bit string extensibility
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c
index 20492c0..15616ea 100644
--- a/libasn1compiler/asn1c_C.c
+++ b/libasn1compiler/asn1c_C.c
@@ -246,12 +246,12 @@
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));