Commit 4062b01c authored by Lev Walkin's avatar Lev Walkin
Browse files

add -fline-refs

parent 21420334
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
???: ???:
* Updated asn1c-usage.pdf. * Updated asn1c-usage.pdf.
* Made -fskeletons-copy a default option; removed cmdline option. * Made -fskeletons-copy a default option; removed cmdline option.
* Made -fnative-types a default options; removed cmdline option. * Made -fnative-types a default option; removed cmdline option.
Added -fwide-types for backwards compatibility. Added -fwide-types for backwards compatibility.
* Add -fline-refs to avoid being unfriendly to version control systems.
0.9.24: 2013-Mar-16 0.9.24: 2013-Mar-16
......
...@@ -96,6 +96,8 @@ main(int ac, char **av) { ...@@ -96,6 +96,8 @@ main(int ac, char **av) {
asn1_compiler_flags &= ~A1C_USE_WIDE_TYPES; asn1_compiler_flags &= ~A1C_USE_WIDE_TYPES;
} else if(strcmp(optarg, "wide-types") == 0) { } else if(strcmp(optarg, "wide-types") == 0) {
asn1_compiler_flags |= A1C_USE_WIDE_TYPES; asn1_compiler_flags |= A1C_USE_WIDE_TYPES;
} else if(strcmp(optarg, "line-refs") == 0) {
asn1_compiler_flags |= A1C_LINE_REFS;
} else if(strcmp(optarg, "no-constraints") == 0) { } else if(strcmp(optarg, "no-constraints") == 0) {
asn1_compiler_flags |= A1C_NO_CONSTRAINTS; asn1_compiler_flags |= A1C_NO_CONSTRAINTS;
} else if(strcmp(optarg, "no-include-deps") == 0) { } else if(strcmp(optarg, "no-include-deps") == 0) {
...@@ -464,6 +466,7 @@ usage(const char *av0) { ...@@ -464,6 +466,7 @@ usage(const char *av0) {
" -findirect-choice Compile members of CHOICE as indirect pointers\n" " -findirect-choice Compile members of CHOICE as indirect pointers\n"
" -fincludes-quoted Generate #includes in \"double\" instead of <angle> quotes\n" " -fincludes-quoted Generate #includes in \"double\" instead of <angle> quotes\n"
" -fknown-extern-type=<name> Pretend the specified type is known\n" " -fknown-extern-type=<name> Pretend the specified type is known\n"
" -fline-refs Include ASN.1 module's line numbers in comments\n"
" -fno-constraints Do not generate constraint checking code\n" " -fno-constraints Do not generate constraint checking code\n"
" -fno-include-deps Do not generate courtesy #includes for dependencies\n" " -fno-include-deps Do not generate courtesy #includes for dependencies\n"
" -funnamed-unions Enable unnamed unions in structures\n" " -funnamed-unions Enable unnamed unions in structures\n"
......
...@@ -1670,11 +1670,12 @@ emit_tag2member_map(arg_t *arg, tag2el_t *tag2el, int tag2el_count, const char * ...@@ -1670,11 +1670,12 @@ emit_tag2member_map(arg_t *arg, tag2el_t *tag2el, int tag2el_count, const char *
OUT("%d, ", tag2el[i].el_no); OUT("%d, ", tag2el[i].el_no);
OUT("%d, ", tag2el[i].toff_first); OUT("%d, ", tag2el[i].toff_first);
OUT("%d ", tag2el[i].toff_last); OUT("%d ", tag2el[i].toff_last);
OUT("}%s /* %s at %d */\n", OUT("}%s /* %s",
(i + 1 < tag2el_count) ? "," : "", (i + 1 < tag2el_count) ? "," : "",
tag2el[i].from_expr->Identifier, tag2el[i].from_expr->Identifier);
tag2el[i].from_expr->_lineno if(arg->flags & A1C_LINE_REFS)
); OUT("at %d", tag2el[i].from_expr->_lineno);
OUT(" */\n");
} }
OUT("};\n"); OUT("};\n");
......
...@@ -60,19 +60,24 @@ enum asn1c_flags { ...@@ -60,19 +60,24 @@ enum asn1c_flags {
* -gen-PER * -gen-PER
* Generate PER support code * Generate PER support code
*/ */
A1C_GEN_PER = 0x1000, A1C_GEN_PER = 0x1000,
/* /*
* -pdu={all|auto|Type} * -pdu={all|auto|Type}
* Generate PDU table * Generate PDU table
*/ */
A1C_PDU_ALL = 0x2000, A1C_PDU_ALL = 0x2000,
A1C_PDU_AUTO = 0x4000, A1C_PDU_AUTO = 0x4000,
A1C_PDU_TYPE = 0x8000, A1C_PDU_TYPE = 0x8000,
/* /*
* -fincludes-quoted * -fincludes-quoted
* Avoid generating #include <foo>, generate "foo" instead. * Avoid generating #include <foo>, generate "foo" instead.
*/ */
A1C_INCLUDES_QUOTED = 0x10000 A1C_INCLUDES_QUOTED = 0x10000,
/*
* -fline-refs
* Include ASN.1 module's line numbers in comments.
*/
A1C_LINE_REFS = 0x20000
}; };
/* /*
......
ModuleTestEnum1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleTestEnum1 { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 3 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
3 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
ModuleTestEnum2 { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleTestEnum2 { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 4 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
4 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
ModuleTestInt1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleTestInt1 { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 7 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
7 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
ModuleParameterization1 { iso org(3) dod(6) internet(1) private(4) ModuleParameterization1 { iso org(3)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 104 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
104 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
...@@ -160,8 +160,8 @@ static ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = { ...@@ -160,8 +160,8 @@ static ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL at 17 */ { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String at 18 */ { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_Bunch_specs_1 = {
sizeof(struct Bunch), sizeof(struct Bunch),
......
...@@ -62,7 +62,7 @@ static ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = { ...@@ -62,7 +62,7 @@ static ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 0 } /* signed at 18 */ { (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 0 } /* signed */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1 = {
sizeof(struct SIGNED_16P0), sizeof(struct SIGNED_16P0),
...@@ -112,7 +112,7 @@ static ber_tlv_tag_t asn_DEF_signed_tags_4[] = { ...@@ -112,7 +112,7 @@ static ber_tlv_tag_t asn_DEF_signed_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = { static asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* a at 19 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* a */
}; };
static uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = { static uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) (1 << 7)
...@@ -168,7 +168,7 @@ static ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = { ...@@ -168,7 +168,7 @@ static ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = { static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* signed at 19 */ { (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* signed */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3 = { static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3 = {
sizeof(struct SIGNED_16P1), sizeof(struct SIGNED_16P1),
......
...@@ -150,9 +150,9 @@ static ber_tlv_tag_t asn_DEF_Narrow_15P0_tags_1[] = { ...@@ -150,9 +150,9 @@ static ber_tlv_tag_t asn_DEF_Narrow_15P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Narrow_15P0_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_Narrow_15P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* narrow1 at 20 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* narrow1 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* narrow2 at 20 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* narrow2 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* narrow3 at 20 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* narrow3 */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Narrow_15P0_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_Narrow_15P0_specs_1 = {
sizeof(struct Narrow_15P0), sizeof(struct Narrow_15P0),
......
...@@ -152,7 +152,7 @@ static ber_tlv_tag_t asn_DEF_Flag_16P0_tags_1[] = { ...@@ -152,7 +152,7 @@ static ber_tlv_tag_t asn_DEF_Flag_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Flag_16P0_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_Flag_16P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* field at 18 */ { (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* field */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P0_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P0_specs_1 = {
sizeof(struct Flag_16P0), sizeof(struct Flag_16P0),
...@@ -268,7 +268,7 @@ static ber_tlv_tag_t asn_DEF_Flag_16P1_tags_6[] = { ...@@ -268,7 +268,7 @@ static ber_tlv_tag_t asn_DEF_Flag_16P1_tags_6[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_Flag_16P1_tag2el_6[] = { static asn_TYPE_tag2member_t asn_MAP_Flag_16P1_tag2el_6[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* field at 19 */ { (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* field */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P1_specs_6 = { static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P1_specs_6 = {
sizeof(struct Flag_16P1), sizeof(struct Flag_16P1),
......
ModuleParameterizationClass { iso org(3) dod(6) internet(1) private(4) ModuleParameterizationClass { iso org(3)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 112 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
112 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
ModuleRealConstraint { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleRealConstraint { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 117 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
117 }
DEFINITIONS ::= DEFINITIONS ::=
BEGIN BEGIN
......
ModulePERStrings { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModulePERStrings { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 119 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
119 }
DEFINITIONS AUTOMATIC TAGS ::= DEFINITIONS AUTOMATIC TAGS ::=
BEGIN BEGIN
......
...@@ -1513,37 +1513,37 @@ static ber_tlv_tag_t asn_DEF_PDU_tags_1[] = { ...@@ -1513,37 +1513,37 @@ static ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2)) (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
}; };
static asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = { static asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* many at 15 */ { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* many */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ia5 at 16 */ { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ia5 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ia5-c at 17 */ { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ia5-c */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ia5-ce at 18 */ { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 }, /* ia5-ce */
{ (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* ia5-ir at 19 */ { (ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0 }, /* ia5-ir */
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* vs at 20 */ { (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0 }, /* vs */
{ (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* vs-c at 21 */ { (ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0 }, /* vs-c */
{ (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* vs-ce at 22 */ { (ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0 }, /* vs-ce */
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* vs-ir at 23 */ { (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* vs-ir */
{ (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* pr at 24 */ { (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 }, /* pr */
{ (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* pr-c at 25 */ { (ASN_TAG_CLASS_CONTEXT | (10 << 2)), 10, 0, 0 }, /* pr-c */
{ (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* pr-ir at 26 */ { (ASN_TAG_CLASS_CONTEXT | (11 << 2)), 11, 0, 0 }, /* pr-ir */
{ (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* ns at 27 */ { (ASN_TAG_CLASS_CONTEXT | (12 << 2)), 12, 0, 0 }, /* ns */
{ (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* ns-c at 28 */ { (ASN_TAG_CLASS_CONTEXT | (13 << 2)), 13, 0, 0 }, /* ns-c */
{ (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* ns-ce at 29 */ { (ASN_TAG_CLASS_CONTEXT | (14 << 2)), 14, 0, 0 }, /* ns-ce */
{ (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 }, /* ns-ir at 30 */ { (ASN_TAG_CLASS_CONTEXT | (15 << 2)), 15, 0, 0 }, /* ns-ir */
{ (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 16, 0, 0 }, /* ut-c at 31 */ { (ASN_TAG_CLASS_CONTEXT | (16 << 2)), 16, 0, 0 }, /* ut-c */
{ (ASN_TAG_CLASS_CONTEXT | (17 << 2)), 17, 0, 0 }, /* ut-ce at 32 */ { (ASN_TAG_CLASS_CONTEXT | (17 << 2)), 17, 0, 0 }, /* ut-ce */
{ (ASN_TAG_CLASS_CONTEXT | (18 << 2)), 18, 0, 0 }, /* ut-ir at 33 */ { (ASN_TAG_CLASS_CONTEXT | (18 << 2)), 18, 0, 0 }, /* ut-ir */
{ (ASN_TAG_CLASS_CONTEXT | (19 << 2)), 19, 0, 0 }, /* bm at 34 */ { (ASN_TAG_CLASS_CONTEXT | (19 << 2)), 19, 0, 0 }, /* bm */
{ (ASN_TAG_CLASS_CONTEXT | (20 << 2)), 20, 0, 0 }, /* bm-c at 35 */ { (ASN_TAG_CLASS_CONTEXT | (20 << 2)), 20, 0, 0 }, /* bm-c */
{ (ASN_TAG_CLASS_CONTEXT | (21 << 2)), 21, 0, 0 }, /* bm-cs at 36 */ { (ASN_TAG_CLASS_CONTEXT | (21 << 2)), 21, 0, 0 }, /* bm-cs */
{ (ASN_TAG_CLASS_CONTEXT | (22 << 2)), 22, 0, 0 }, /* bm-ce at 37 */ { (ASN_TAG_CLASS_CONTEXT | (22 << 2)), 22, 0, 0 }, /* bm-ce */
{ (ASN_TAG_CLASS_CONTEXT | (23 << 2)), 23, 0, 0 }, /* bm-ir at 38 */ { (ASN_TAG_CLASS_CONTEXT | (23 << 2)), 23, 0, 0 }, /* bm-ir */
{ (ASN_TAG_CLASS_CONTEXT | (24 << 2)), 24, 0, 0 }, /* us at 39 */ { (ASN_TAG_CLASS_CONTEXT | (24 << 2)), 24, 0, 0 }, /* us */
{ (ASN_TAG_CLASS_CONTEXT | (25 << 2)), 25, 0, 0 }, /* us-c at 40 */ { (ASN_TAG_CLASS_CONTEXT | (25 << 2)), 25, 0, 0 }, /* us-c */
{ (ASN_TAG_CLASS_CONTEXT | (26 << 2)), 26, 0, 0 }, /* us-cs at 41 */ { (ASN_TAG_CLASS_CONTEXT | (26 << 2)), 26, 0, 0 }, /* us-cs */
{ (ASN_TAG_CLASS_CONTEXT | (27 << 2)), 27, 0, 0 }, /* us-ce at 42 */ { (ASN_TAG_CLASS_CONTEXT | (27 << 2)), 27, 0, 0 }, /* us-ce */
{ (ASN_TAG_CLASS_CONTEXT | (28 << 2)), 28, 0, 0 }, /* us-ir at 43 */ { (ASN_TAG_CLASS_CONTEXT | (28 << 2)), 28, 0, 0 }, /* us-ir */
{ (ASN_TAG_CLASS_CONTEXT | (29 << 2)), 29, 0, 0 }, /* real at 44 */ { (ASN_TAG_CLASS_CONTEXT | (29 << 2)), 29, 0, 0 }, /* real */
{ (ASN_TAG_CLASS_CONTEXT | (30 << 2)), 30, 0, 0 } /* oid at 45 */ { (ASN_TAG_CLASS_CONTEXT | (30 << 2)), 30, 0, 0 } /* oid */
}; };
static asn_SEQUENCE_specifics_t asn_SPC_PDU_specs_1 = { static asn_SEQUENCE_specifics_t asn_SPC_PDU_specs_1 = {
sizeof(struct PDU), sizeof(struct PDU),
......
ModuleEmptyIMPORTS { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleEmptyIMPORTS { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 121 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
121 }
DEFINITIONS AUTOMATIC TAGS ::= DEFINITIONS AUTOMATIC TAGS ::=
BEGIN BEGIN
......
ModuleValueAssignmentConstrained { iso org(3) dod(6) internet(1) private(4) ModuleValueAssignmentConstrained { iso org(3)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 123 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
123 }
DEFINITIONS AUTOMATIC TAGS ::= DEFINITIONS AUTOMATIC TAGS ::=
BEGIN BEGIN
......
ModuleMultiConstraint { iso org(3) dod(6) internet(1) private(4) enterprise(1) ModuleMultiConstraint { iso org(3)
spelio(9363) software(1) asn1c(5) test(1) 124 } dod(6) internet(1) private(4)
enterprise(1) spelio(9363)
software(1) asn1c(5) test(1)
124 }
DEFINITIONS AUTOMATIC TAGS ::= DEFINITIONS AUTOMATIC TAGS ::=
BEGIN BEGIN
......
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