Commit 5b7eeaff authored by Lev Walkin's avatar Lev Walkin

better wrapping

parent 5d32c21c
......@@ -126,9 +126,9 @@ asn1print_oid(int prior_len, asn1p_oid_t *oid, enum asn1print_flags flags) {
for(ac = 0; ac < oid->arcs_count; ac++) {
const char *arcname = oid->arcs[ac].name;
if(accum + strlen(arcname ? arcname : "") > 75) {
if(accum + strlen(arcname ? arcname : "") > 72) {
printf("\n\t");
accum = 0;
accum = 8;
} else {
accum += printf(" ");
}
......
ModuleTestInt1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) spelio(9363)
software(1) asn1c(5) test(1) 7 }
ModuleTestInt1 { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 7 }
DEFINITIONS ::=
BEGIN
......
......@@ -32,8 +32,8 @@ Enumeration ::= ENUMERATED {
END
HiddenModule { iso org(3) dod(6) internet(1) private(4) enterprise(1) spelio(9363)
software(1) asn1c(5) test(1) 14 3 }
HiddenModule { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 14 3 }
DEFINITIONS ::=
BEGIN
......
ModuleTestSequenceSimple { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 32 }
ModuleTestSequenceSimple { iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 32 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
......
ModuleTestComponentsOf { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 55 }
ModuleTestComponentsOf { iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 55 }
DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
......
ModuleTestANY { iso org(3) dod(6) internet(1) private(4) enterprise(1) spelio(9363)
software(1) asn1c(5) test(1) 60 }
ModuleTestANY { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 60 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
......
ModuleTestIntegerAndEnumeratedConstraints { iso org(3) dod(6) internet(1)
private(4) enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 74 }
private(4) enterprise(1) spelio(9363) software(1) asn1c(5) test(1)
74 }
DEFINITIONS ::=
BEGIN
......
ModuleTestConstrainedBy { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 79 }
ModuleTestConstrainedBy { iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 79 }
DEFINITIONS ::=
BEGIN
......
ModuleTestWithComponents { iso org(3) dod(6) internet(1) private(4) enterprise(1)
spelio(9363) software(1) asn1c(5) test(1) 82 }
ModuleTestWithComponents { iso org(3) dod(6) internet(1) private(4)
enterprise(1) spelio(9363) software(1) asn1c(5) test(1) 82 }
DEFINITIONS ::=
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