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:
vlm 2006-08-26 03:29:15 +00:00
parent 6ed22c6986
commit 24238062e6
1 changed files with 1 additions and 1 deletions

View File

@ -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));