Commit 5f998b84 authored by Bi-Ruei, Chiu's avatar Bi-Ruei, Chiu Committed by Mouse

Use compute_extensions_start() to determine position of extension

parent 82a49bba
...@@ -425,7 +425,7 @@ asn1c_lang_C_type_SEQUENCE_def(arg_t *arg, asn1c_ioc_table_and_objset_t *opt_ioc ...@@ -425,7 +425,7 @@ asn1c_lang_C_type_SEQUENCE_def(arg_t *arg, asn1c_ioc_table_and_objset_t *opt_ioc
asn1p_expr_t *expr = arg->expr; asn1p_expr_t *expr = arg->expr;
asn1p_expr_t *v; asn1p_expr_t *v;
int elements; /* Number of elements */ int elements; /* Number of elements */
int first_extension = -1; int first_extension = compute_extensions_start(expr);
tag2el_t *tag2el = NULL; tag2el_t *tag2el = NULL;
int tag2el_count = 0; int tag2el_count = 0;
int tags_count; int tags_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment