Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
1711a5dd
Commit
1711a5dd
authored
Sep 26, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:vlm/asn1c
parents
2e93c223
6171cd02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
libasn1compiler/asn1c_C.c
libasn1compiler/asn1c_C.c
+10
-11
No files found.
libasn1compiler/asn1c_C.c
View file @
1711a5dd
...
@@ -820,24 +820,23 @@ asn1c_lang_C_type_SEx_OF(arg_t *arg) {
...
@@ -820,24 +820,23 @@ asn1c_lang_C_type_SEx_OF(arg_t *arg) {
&&
memb
->
expr_type
==
ASN_BASIC_INTEGER
))
&&
memb
->
expr_type
==
ASN_BASIC_INTEGER
))
&&
expr_elements_count
(
arg
,
memb
)))
{
&&
expr_elements_count
(
arg
,
memb
)))
{
arg_t
tmp
;
arg_t
tmp
;
asn1p_expr_t
tmp_memb
;
asn1p_expr_t
*
tmp_memb
=
memb
;
enum
asn1p_expr_marker_e
flags
=
memb
->
marker
.
flags
;
arg
->
embed
++
;
arg
->
embed
++
;
tmp
=
*
arg
;
tmp
=
*
arg
;
tmp
.
expr
=
&
tmp_memb
;
tmp
.
expr
=
tmp_memb
;
tmp_memb
=
*
memb
;
tmp_memb
->
marker
.
flags
&=
~
EM_INDIRECT
;
tmp_memb
.
marker
.
flags
&=
~
EM_INDIRECT
;
tmp_memb
->
_anonymous_type
=
1
;
tmp_memb
.
_anonymous_type
=
1
;
if
(
tmp_memb
->
Identifier
==
0
)
{
if
(
tmp_memb
.
Identifier
==
0
)
{
tmp_memb
->
Identifier
=
strdup
(
"Member"
);
tmp_memb
.
Identifier
=
"Member"
;
if
(
0
)
if
(
0
)
tmp_memb
.
Identifier
=
strdup
(
tmp_memb
->
Identifier
=
strdup
(
asn1c_make_identifier
(
0
,
asn1c_make_identifier
(
0
,
expr
,
"Member"
,
0
));
expr
,
"Member"
,
0
));
assert
(
tmp_memb
.
Identifier
);
assert
(
tmp_memb
->
Identifier
);
}
}
tmp
.
default_cb
(
&
tmp
,
NULL
);
tmp
.
default_cb
(
&
tmp
,
NULL
);
if
(
tmp_memb
.
Identifier
!=
memb
->
Identifier
)
tmp_memb
->
marker
.
flags
=
flags
;
if
(
0
)
free
(
tmp_memb
.
Identifier
);
arg
->
embed
--
;
arg
->
embed
--
;
assert
(
arg
->
target
->
target
==
OT_TYPE_DECLS
||
assert
(
arg
->
target
->
target
==
OT_TYPE_DECLS
||
arg
->
target
->
target
==
OT_FWD_DEFS
);
arg
->
target
->
target
==
OT_FWD_DEFS
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment