From: <per...@li...> - 2003-02-26 14:27:49
|
Hi > > get an error trying to prepare a "SET OF xxxx OPTIONAL". Here is (i think) a solution. I added in the parser.y file, for the selem definition the optional keyword, and added the cOPT definition to the element. I've tried, and seems to be working. (there are two warning whith the perl_byacc and the test t/05time.t failed (with/without my patch)) The patch --- ../Convert-ASN1-0.16/parser.y Mon Aug 19 23:51:37 2002 +++ parser.y Wed Feb 26 14:15:01 2003 @@ -131,10 +131,10 @@ | SET ; -selem : seqset OF class plicit sselem +selem : seqset OF class plicit sselem optional { $5->[cTAG] = $3; - @{$$ = []}[cTYPE,cCHILD,cLOOP] = ($1, [$5], 1); + @{$$ = []}[cTYPE,cCHILD,cLOOP,cOPT] = ($1, [$5], 1, $6); $$ = explicit($$) if $4; } ; Thank you very much Lenardo A. Helman Pert Consultores lh...@pe... |