asn1c: fix CHARACTER STRING definition
This commit is contained in:
parent
26c1a0a6bd
commit
e1bd91c781
|
@ -546,9 +546,16 @@ def build_implicit_mod():
|
|||
transfer-syntax [4] OBJECT IDENTIFIER,
|
||||
fixed [5] NULL
|
||||
},
|
||||
string-value [1] OCTET STRING
|
||||
data-value-descriptor [1] ObjectDescriptor OPTIONAL,
|
||||
string-value [2] OCTET STRING
|
||||
}
|
||||
""".strip()))
|
||||
_CHARACTER_STRING._parse_const(clean_text("""
|
||||
(WITH COMPONENTS {
|
||||
...,
|
||||
data-value-descriptor ABSENT
|
||||
})
|
||||
""".strip()))
|
||||
_path_pop()
|
||||
_CHARACTER_STRING._text_def = ''
|
||||
_CHARACTER_STRING._mod = '_IMPL_'
|
||||
|
|
Loading…
Reference in New Issue