*** empty log message ***
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1128 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c
index a89fbfb..db9bab8 100644
--- a/libasn1compiler/asn1c_C.c
+++ b/libasn1compiler/asn1c_C.c
@@ -847,14 +847,15 @@
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);