Menu

User defined language support for ASN.1

2007-04-30
2012-11-13
  • Nobody/Anonymous

    Hello people,

    I've tried various options to get folding to work on this bit of ASN.1 but
    I can't get { or } to work as BeginBlock or EndBlock, respectively, when
    next to a token (as below). [snippet from ULP-Components ASN.1 from the RRLP spec].

    SetSessionID ::= SEQUENCE {sessionId  INTEGER(0..65535),
                               setId      SETId}

    I've tried including them as operators but that just makes them fail to
    mark blocks elsewhere.

    If I choose 'C' as a language I get the folding correctly. I tried downloading
    the awk user defined language but that had the same problems I'm seeing with my
    own definitions.

    Am I doing something stupid?

    Thanks,

    Graham

     
    • Nobody/Anonymous

      No, you're not... I'm experiencing the same thing with an other language (maxscript). Looks like user defined languages don't fold very well... Sure hope someone will fix it!

      -Johan

       
MongoDB Logo MongoDB