mirror of https://gerrit.osmocom.org/asn1c
tolerate bit string extensibility
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1142 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
6ed22c6986
commit
24238062e6
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue