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
e460c3b7
Commit
e460c3b7
authored
Oct 19, 2017
by
Bi-Ruei, Chiu
Committed by
Lev Walkin
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error during 'make check'
parent
156b0feb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
17 deletions
+17
-17
libasn1fix/asn1fix_param.c
libasn1fix/asn1fix_param.c
+2
-2
tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P
tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P
+3
-3
tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P
tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P
+3
-3
tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P
tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P
+3
-3
tests/tests-asn1c-compiler/144-ios-parameterization-OK.asn1.-P
.../tests-asn1c-compiler/144-ios-parameterization-OK.asn1.-P
+3
-3
tests/tests-asn1c-compiler/146-ios-parameterization-per-OK.asn1.-Pgen-PER
...c-compiler/146-ios-parameterization-per-OK.asn1.-Pgen-PER
+3
-3
No files found.
libasn1fix/asn1fix_param.c
View file @
e460c3b7
...
...
@@ -112,7 +112,7 @@ resolve_expr(asn1p_expr_t *expr_to_resolve, void *resolver_arg) {
expr_to_resolve
->
reference
);
if
(
!
expr
)
return
NULL
;
}
else
if
(
expr_to_resolve
->
meta_type
==
AMT_VALUE
)
{
assert
(
expr_to_resolve
->
value
)
;
if
(
!
expr_to_resolve
->
value
)
return
NULL
;
expr
=
find_target_specialization_bystr
(
rarg
,
expr_to_resolve
->
Identifier
);
if
(
!
expr
)
return
NULL
;
...
...
@@ -155,7 +155,7 @@ static asn1p_expr_t *
find_target_specialization_byvalueset
(
resolver_arg_t
*
rarg
,
asn1p_constraint_t
*
ct
)
{
asn1p_ref_t
*
ref
;
assert
(
ct
->
type
==
ACT_EL_TYPE
)
;
if
(
ct
->
type
!=
ACT_EL_TYPE
)
return
NULL
;
ref
=
ct
->
containedSubtype
->
value
.
v_type
->
reference
;
...
...
tests/tests-asn1c-compiler/139-component-relation-OK.asn1.-P
View file @
e460c3b7
...
...
@@ -24,7 +24,7 @@ typedef struct Frame {
long ident;
struct value {
value_PR present;
union value_u {
union
Frame__
value_u {
PrimitiveMessage_t PrimitiveMessage;
ComplexMessage_t ComplexMessage;
} choice;
...
...
@@ -81,7 +81,7 @@ memb_ident_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_type_selector_result_t
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
select_
Frame_
value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_type_selector_result_t result = {0, 0};
const asn_ioc_set_t *itable = asn_IOS_FrameTypes_1;
size_t constraining_column = 0; /* &id */
...
...
@@ -188,7 +188,7 @@ static asn_TYPE_member_t asn_MBR_Frame_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_value_3,
.type_selector = select_value_type,
.type_selector = select_
Frame_
value_type,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_value_constraint_1 },
0, 0, /* No default value */
.name = "value"
...
...
tests/tests-asn1c-compiler/140-component-relation-OK.asn1.-P
View file @
e460c3b7
...
...
@@ -24,7 +24,7 @@ typedef struct Frame {
long ident;
struct value {
value_PR present;
union value_u {
union
Frame__
value_u {
PrimitiveMessage_t PrimitiveMessage;
ComplexMessage_t ComplexMessage;
} choice;
...
...
@@ -81,7 +81,7 @@ memb_ident_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_type_selector_result_t
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
select_
Frame_
value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_type_selector_result_t result = {0, 0};
const asn_ioc_set_t *itable = asn_IOS_FrameTypes_1;
size_t constraining_column = 0; /* &id */
...
...
@@ -188,7 +188,7 @@ static asn_TYPE_member_t asn_MBR_Frame_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_value_3,
.type_selector = select_value_type,
.type_selector = select_
Frame_
value_type,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_value_constraint_1 },
0, 0, /* No default value */
.name = "value"
...
...
tests/tests-asn1c-compiler/141-component-relation-OK.asn1.-P
View file @
e460c3b7
...
...
@@ -24,7 +24,7 @@ typedef struct Frame {
ConstrainedInteger_t ident;
struct value {
value_PR present;
union value_u {
union
Frame__
value_u {
PrimitiveMessage_t PrimitiveMessage;
ComplexMessage_t ComplexMessage;
} choice;
...
...
@@ -87,7 +87,7 @@ memb_ident_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_type_selector_result_t
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
select_
Frame_
value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_type_selector_result_t result = {0, 0};
const asn_ioc_set_t *itable = asn_IOS_FrameTypes_1;
size_t constraining_column = 0; /* &id */
...
...
@@ -194,7 +194,7 @@ static asn_TYPE_member_t asn_MBR_Frame_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_value_3,
.type_selector = select_value_type,
.type_selector = select_
Frame_
value_type,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_value_constraint_1 },
0, 0, /* No default value */
.name = "value"
...
...
tests/tests-asn1c-compiler/144-ios-parameterization-OK.asn1.-P
View file @
e460c3b7
...
...
@@ -86,7 +86,7 @@ typedef struct SpecializedContent_30P0 {
long id;
struct value {
value_PR present;
union value_u {
union
SpecializedContent_30P0__
value_u {
long INTEGER;
BOOLEAN_t BOOLEAN;
} choice;
...
...
@@ -141,7 +141,7 @@ memb_id_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_type_selector_result_t
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
select_
SpecializedContent_30P0_
value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_type_selector_result_t result = {0, 0};
const asn_ioc_set_t *itable = asn_IOS_RegionalExtension_1;
size_t constraining_column = 0; /* &id */
...
...
@@ -248,7 +248,7 @@ asn_TYPE_member_t asn_MBR_SpecializedContent_30P0_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_value_3,
.type_selector = select_value_type,
.type_selector = select_
SpecializedContent_30P0_
value_type,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_value_constraint_1 },
0, 0, /* No default value */
.name = "value"
...
...
tests/tests-asn1c-compiler/146-ios-parameterization-per-OK.asn1.-Pgen-PER
View file @
e460c3b7
...
...
@@ -86,7 +86,7 @@ typedef struct SpecializedContent_30P0 {
long id;
struct value {
value_PR present;
union value_u {
union
SpecializedContent_30P0__
value_u {
long INTEGER;
BOOLEAN_t BOOLEAN;
} choice;
...
...
@@ -141,7 +141,7 @@ memb_id_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
}
static asn_type_selector_result_t
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
select_
SpecializedContent_30P0_
value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_type_selector_result_t result = {0, 0};
const asn_ioc_set_t *itable = asn_IOS_RegionalExtension_1;
size_t constraining_column = 0; /* &id */
...
...
@@ -264,7 +264,7 @@ asn_TYPE_member_t asn_MBR_SpecializedContent_30P0_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_value_3,
.type_selector = select_value_type,
.type_selector = select_
SpecializedContent_30P0_
value_type,
{ .oer_constraints = 0, .per_constraints = &asn_PER_memb_value_constr_3, .general_constraints = memb_value_constraint_1 },
0, 0, /* No default value */
.name = "value"
...
...
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