asn.1 - ASN1 Macro Value "is referenced, but is not defined." -
we try make macro in asn1 compiler throws following error:
line 6 (bigintmacro): a0256w: 'bigintvalue' referenced, not defined.
this our code:
bigintmacro definitions ::= begin bigint macro ::= begin type notation ::= <type ::= integer> value notation ::= value (value bigintvalue) bigintvalue ::= int1 int2 int1 ::= number int2 ::= number end end
is there particular reason still using asn.1 macro notation removed asn.1 in 1994 (20 years ago) , replaced information object classes , parameterization? better off using modern asn.1 rather banging head against wall asn.1 macro notation.
i notice using either oss nokalva asn.1 compiler or online asn.1 compiler @ http://asn1-playground.oss.com. should ask oss support department assist sending mail support@oss.com. although oss asn.1 compiler still supports asn.1 macro notation, support department can convert macro notation modern asn.1.
macro notation removed asn.1 20 years ago because of ambiguity inability capture macro author's intention in machine processable way. modern asn.1 information object classes , parameterization solved problems inherent in old asn.1 macro notation.
in particular case, comes after "value" keyword expected asn.1 type, not additional macro production.
Comments
Post a Comment