Posted on 2007-10-22 15:01:15-07 by durbamp
Parser syntax error with empty ASN sequence description

Hi all !
I have to work with a protocol containing an empty sequence description:

DialogueCheck ::= [PRIVATE 360] SEQUENCE { }

Convert::ASN1 can't handle such description, I got a "syntax error }" from parser.pm.
Is it a bug ? An ASN restriction ? Or is there something wrong with the description ?
I tried to improve parser.y to add LBRACE RBRACE, without success... I have to learn a lot about byacc.

Thanks for yours answers/propositions.
Jerome.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.