*** empty log message ***

git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1128 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
vlm 2006-08-18 01:38:40 +00:00
parent 18dd82cb70
commit 6aa5098dd5
1 changed files with 3 additions and 2 deletions

View File

@ -847,14 +847,15 @@ asn1c_lang_C_type_CHOICE(arg_t *arg) {
out_name_chain(arg, ONC_noflags);
OUT("_PR {\n");
INDENTED(
int firstTime = 1;
int skipComma = 1;
out_name_chain(arg, ONC_noflags);
OUT("_PR_NOTHING,\t/* No components present */\n");
TQ_FOR(v, &(expr->members), next) {
if(firstTime) firstTime = 0;
if(skipComma) skipComma = 0;
else OUT(",\n");
if(v->expr_type == A1TC_EXTENSIBLE) {
OUT("/* Extensions may appear below */\n");
skipComma = 1;
continue;
}
out_name_chain(arg, ONC_noflags);