Hello,
I have a description like below
OpCode ::= CHOICE
{
int [0]INTEGER,
objident [1]OBJECT IDENTIFIER
}
Generated code
ASN1::INTEGER32 *OpCode_int;
ASN1::OBJECT_IDENTIFIER *objident;
The compiler I have used has taken care of it. If you want I can send
you the compiler name to you in private mail. From my pov, this changes
from compiler to compiler.
Regards,
Vasa
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Banibrata Dutta
> Sent: Wednesday, August 31, 2005 12:05 PM
> To: [email protected]
> Subject: [ASN1] do asn1 compilers do special handling for
> C/C++ keywords ?
>
> Hi,
>
> If the ASN.1 specification uses some C/C++ keywords (s.a. say
> "class") e.g.
>
> MyType ::= SEQUENCE {
> class INTEGER,
> index INTEGER
> }
>
> would the asn1 compiler typically modify the generated *.h
> files to rename "class" to something else ?
>
> Since this is not a tool specific question, i hope it's okay
> to ask it here.
>
> regards,
> banibrata
>
>
>
> _______________________________________________
> ASN1 mailing list
> [email protected]
> http://lists.asn1.org/mailman/listinfo/asn1
>
_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1