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
92fc0130
Commit
92fc0130
authored
Aug 05, 2017
by
Lev Walkin
Committed by
GitHub
Aug 05, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #168 from brchiu/fix_compile_J2735_issue
Fix compile SAE J2735_201603DA.ASN issue
parents
fb35e088
94f0b645
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
libasn1compiler/asn1c_C.c
libasn1compiler/asn1c_C.c
+3
-5
libasn1compiler/asn1c_misc.c
libasn1compiler/asn1c_misc.c
+1
-1
No files found.
libasn1compiler/asn1c_C.c
View file @
92fc0130
...
...
@@ -3005,8 +3005,6 @@ out_name_chain(arg_t *arg, enum onc_flags onc_flags) {
asn1p_expr_t
*
expr
=
arg
->
expr
;
char
*
id
;
assert
(
expr
->
Identifier
);
if
((
arg
->
flags
&
A1C_COMPOUND_NAMES
||
onc_flags
&
ONC_force_compound_name
)
&&
((
expr
->
expr_type
&
ASN_CONSTR_MASK
)
...
...
@@ -3015,8 +3013,8 @@ out_name_chain(arg_t *arg, enum onc_flags onc_flags) {
||
expr
->
expr_type
==
ASN_BASIC_BIT_STRING
)
&&
expr_elements_count
(
arg
,
expr
))
)
&&
expr
->
parent_expr
&&
expr
->
parent_expr
->
Identifier
)
{
&&
expr
->
parent_expr
)
{
arg_t
tmparg
=
*
arg
;
tmparg
.
expr
=
expr
->
parent_expr
;
...
...
@@ -3024,7 +3022,7 @@ out_name_chain(arg_t *arg, enum onc_flags onc_flags) {
out_name_chain
(
&
tmparg
,
onc_flags
);
OUT
(
"__"
);
/* a separator between id components */
if
(
expr
->
parent_expr
->
Identifier
)
OUT
(
"__"
);
/* a separator between id components */
/* Fall through */
}
...
...
libasn1compiler/asn1c_misc.c
View file @
92fc0130
...
...
@@ -221,7 +221,7 @@ asn1c_type_name(arg_t *arg, asn1p_expr_t *expr, enum tnfmt _format) {
}
}
if
(
_format
!=
TNF_RSAFE
&&
terminal
&&
terminal
->
spec_index
!=
-
1
)
{
if
(
_format
!=
TNF_RSAFE
&&
terminal
&&
((
terminal
->
spec_index
!=
-
1
)
||
(
terminal
->
_mark
&
TM_NAMECLASH
))
)
{
exprid
=
terminal
;
typename
=
0
;
}
...
...
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