Hi!
Recently, i'm having troubles compiling my parser, which worked in bison
2.3. The output message is:
Parser.y:42: error: ISO C++ forbids declaration of ‘Invocation’ with no type
Parser.y:42: error: expected ‘;’ before ‘*’ token
Parser.y:43: error: ISO C++ forbids declaration of ‘Parameter’ wi
Hi Cleto,
On Wed, 25 Mar 2009, Cleto Martin Angelina wrote:
> Recently, i'm having troubles compiling my parser, which worked in bison
> 2.3. The output message is:
>
> Parser.y:42: error: ISO C++ forbids declaration of ‘Invocation’ with no type
> Parser.y:42: error: expected ‘;’ before ‘*’ toke
Thanks a lot, Joel.
The problem is now solved. Your reference to the manual's section was
enough. I'm sorry about my stupid question, it was a silly thing. I only had
to change the %{ ... }% block for a %code top and %code requires blocks
before %union declaration.
Regards,
Cleto
On Wed, Mar 25,
On Wed, 25 Mar 2009, Cleto Martin Angelina wrote:
> Thanks a lot, Joel.
No problem.
> The problem is now solved. Your reference to the manual's section was
> enough. I'm sorry about my stupid question, it was a silly thing. I only had
> to change the %{ ... }% block for a %code top and %code req