kimgr / asn1ate

A Python library for translating ASN.1 into other forms.
Other
69 stars 41 forks source link

Parser does not accept empty SEQUENCE #34

Closed kimgr closed 8 years ago

kimgr commented 8 years ago

Originally reported by @Mourhamo as issue #32.

The asn1ate parser does not accept SEQUENCE elements without components:

PE-Dummy ::= SEQUENCE {
}

(example from PEDefinitions V2.0.txt)

Parsing fails with:

pyparsing.ParseException: Expected "END" (at char 16038), (line:574, col:30)
kimgr commented 8 years ago

Now fixed in master.