On Tue, 22 Jul 2003, Murali wrote: > Hi, > > Attached is the asn specs, which gives the error : > line 22 (InfObj4): A0120E: Parsing error: expecting NULL but found ','. > &result-if-error &ResultType DEFAULT NULL, --variable type value field > > But when one more NULL is added as it is says in the error message, it > compiles successfully. > (line 22 is changed to &result-if-error &ResultType DEFAULT NULL NULL,) > > Is it a compiler bug or the usage was wrong?
The variable type value field defines an open type, and the open type value notation is "Type : Value". As such, the correct syntax is "&result-if-error &ResultType DEFAULT NULL : NULL". X.681 will be changed to make it clearer that the presence of "DEFAULT" does not affect the value notation. ------------------------------------------------------------------------- Bancroft Scott Toll Free :1-888-OSS-ASN1 OSS Nokalva International:1-732-302-0750 [EMAIL PROTECTED] Tech Support :1-732-302-9669 x-1 1-732-302-9669 x-200 Fax :1-732-302-0023 http://www.oss.com
