Re: Grammar definition problem.

2005-03-22 Thread Atul Kulkarni
Hey Laurence, Thanks! that was nice and simple, I should have go that :( earlier! Regards, Atul. On Mon, 21 Mar 2005 11:59:49 +0100 (MET), Laurence Finston <[EMAIL PROTECTED]> wrote: > On Mon, 21 Mar 2005, Atul Kulkarni wrote: > > > how do I put the OR part of the rule inconsideration of the

Re: %union errors that shouldn't be there

2005-03-22 Thread Laurence Finston
On Mon, 21 Mar 2005, Hans Aberg wrote: > They should be OK in C++, as pointers do not have non-trival > con-/de-structors. The compiler needs to see a declaration of the > name as a type, though, before it sees the pointer. If I remember correctly, it has to do with the size of the objects not be

Re: %union errors that shouldn't be there

2005-03-22 Thread Laurence Finston
On Sun, 20 Mar 2005, DYP wrote: > My %union is declared in the following way [...] > > %union{ > float fconst; > int type; > astNode* node; > string* name; > nodeList* list; >} > If you don't mind an unsolicited suggestion,

Re: %union errors that shouldn't be there

2005-03-22 Thread Laurence Finston
On Tue, 22 Mar 2005, Laurence Finston wrote: > @=%type path_primary@>@/ > [...] in the rule > `path_primary: SUBPATH numeric_list OF path_primary', > `$4' can only be a `Path*', cast to `void*'. This isn't true. The semantic value of a symbol of type `pointer_value' can be 0, which I've found

Re: Grammar definition problem.

2005-03-22 Thread Hans Aberg
Please continue to cc the Help-Bison list, so that more can help. Often one is using a program like Flex to generate a lexer, a program that tokenizes the input. Then the Bison generated parser gets token number to parse. This kind of setup is described, for example, in the book by Aho, Sethi &

Re: %union errors that shouldn't be there

2005-03-22 Thread Hans Aberg
At 10:39 +0100 2005/03/22, Laurence Finston wrote: On Mon, 21 Mar 2005, Hans Aberg wrote: They should be OK in C++, as pointers do not have non-trival con-/de-structors. The compiler needs to see a declaration of the name as a type, though, before it sees the pointer. If I remember correctly, it

Update Your Account

2005-03-22 Thread Service
Hello Dear PayPal Member! For our Security Problems You Should Update Your PayPal Account Please Click Here To Update Your Account Thanks You For UsingĀ  PayPal! The PayPal Team PayPal Email ID PP456 ___ Help-bison@gnu.org http://lists.gnu.org/m