mirror of https://gerrit.osmocom.org/asn1c
removed unnecessary newline
This commit is contained in:
parent
afcd6dfb56
commit
c70c2ef182
|
@ -31,6 +31,7 @@ static int asn1print_expr(asn1p_t *asn, asn1p_module_t *mod, asn1p_expr_t *tc, e
|
|||
int
|
||||
asn1print(asn1p_t *asn, enum asn1print_flags flags) {
|
||||
asn1p_module_t *mod;
|
||||
int modno = 0;
|
||||
|
||||
if(asn == NULL) {
|
||||
errno = EINVAL;
|
||||
|
@ -38,6 +39,7 @@ asn1print(asn1p_t *asn, enum asn1print_flags flags) {
|
|||
}
|
||||
|
||||
TQ_FOR(mod, &(asn->modules), mod_next) {
|
||||
if(modno++) printf("\n");
|
||||
asn1print_module(asn, mod, flags);
|
||||
}
|
||||
|
||||
|
@ -48,7 +50,7 @@ static int
|
|||
asn1print_module(asn1p_t *asn, asn1p_module_t *mod, enum asn1print_flags flags) {
|
||||
asn1p_expr_t *tc;
|
||||
|
||||
printf("\n%s ", mod->Identifier);
|
||||
printf("%s ", mod->Identifier);
|
||||
if(mod->module_oid) {
|
||||
asn1print_oid(mod->module_oid, flags);
|
||||
printf("\n");
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestEnum2 {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
4 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestInt1 {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
7 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestResolver2 {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
14 1 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestConstraint {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
16 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestParam {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
19 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestConstr {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
20 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestTags1 {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
21 1 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestTags3 {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
22 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestBitString {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
23 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestSequence {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
24 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestSetOfSimple {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
31 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestSequenceSimple {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
32 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestClassSimple {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
34 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestIndirectChoiceFine {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
37 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleLAPStorage {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
42 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleKnownExternType {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
45 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleSetChoiceExtensibility {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
49 }
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestComponentsOf {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
55 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestParam {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
58 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestANY {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
60 }
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
ModuleTestANYSyntax {iso org(3) dod(6) internet(1) private(4)
|
||||
enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
|
||||
62 }
|
||||
|
|
Loading…
Reference in New Issue