On Sun, 30 Oct 2005, puellula / gmail.com wrote: > OK :) > Now it's all ok, I had understand where is the problem. I had to write > like this: > > program : compstmt; > compstmt : stmt; > stmt : LPAREN stmt1; > stmt1 : smtp ; ^^^^ That 'smtp' doesn't look right to me.... What is it? > > where LPAREN is "(". > Now, I have to write the ruby grammar because I need a grammar with > this feature. > Thanks to all. > If we can help me I'm very happy :) > Thank you for yours interest. I hope you are successful. If you can share the results they may be of use to us. We have had some difficulties over new ruby syntax imposed by YACC/LEX, so opening up other possibilities would seem to be useful. > > bye bye > puellula > Thank you, Hugh