yafred / asn1-tool

A java tool to generate Java encoders and decoders from ASN.1 specifications.
MIT License
43 stars 22 forks source link

Needs to check collision with keywords from target language #1

Closed yafred closed 6 years ago

yafred commented 6 years ago

Example:

        SubstringFilter ::= SEQUENCE { 
                type            AttributeDescription, 
                -- at least one must be present, 
                -- initial and final can occur at most once 
                substrings      SEQUENCE OF CHOICE { 
                        initial [0] AssertionValue, 
                        any     [1] AssertionValue, 
                        final   [2] AssertionValue } } 

final is a Java keywork (generated code will not compile)