Menu

#4 Grammar cannot handle ellipsis (extension marker "...")

1.6
open
7
2007-07-12
2007-06-13
No

ASN.1 syntax allows to design SEQUENCE:s and CHOICE:s for extendability by using the extension marker "...".

This is not supported in BNotes. Example:

ExtendableSeq ::= SEQUENCE {
a INTEGER (0..31),
b INTEGER (0..15),
...
}

Comiler gives:

line 107:3: unexpected token: ...

Discussion

  • Abdulla(h) Abdurakhmanov

    • labels: 855775 -->
    • milestone: 696504 -->
     
  • Abdulla(h) Abdurakhmanov

    Logged In: YES
    user_id=1513714
    Originator: NO

    The extendability feature is not supported by BN (compiler and library too).
    It's feature request.

     
  • Abdulla(h) Abdurakhmanov

    • labels: --> Conformity with the ASN.1
    • milestone: --> 1.6
    • priority: 5 --> 7
     
  • Abdulla(h) Abdurakhmanov

    Logged In: YES
    user_id=1513714
    Originator: NO

    Planned in v1.6.

     

Log in to post a comment.