Re: %union errors

2008-12-08 Thread Laurence Finston
On Fri, 5 Dec 2008, Benny Hardage wrote: > %union > { > int intVal; > bool boolVal; > char* strVal; > std::list* qList; > Variable* var; > UnaryOperation* uop; > BinaryOperation* binop; > Expression* expr; > DataLiteral* datal

Re: %union errors

2008-12-08 Thread Vincent Zweije
On Fri, Dec 05, 2008 at 07:02:15PM -0600, Benny Hardage wrote: || I'm receiving the following errors when I compile: || || In file included from compiler.l:17: You seem to be including your generated parser source into your generated scanner source. Is that right? || parser.y:27: error: ISO C

Re: %union errors

2008-12-08 Thread Luca
Laurence Finston ha scritto: On Fri, 5 Dec 2008, Benny Hardage wrote: %union { int intVal; bool boolVal; char* strVal; std::list* qList; Variable* var; UnaryOperation* uop; BinaryOperation* binop; Expression* expr; DataL

Re: %union errors

2008-12-08 Thread Laurence Finston
On Mon, 8 Dec 2008, Luca wrote: > Laurence Finston ha scritto: > > On Fri, 5 Dec 2008, Benny Hardage wrote: > > > > > > > %union > > > { > > > int intVal; > > > bool boolVal; > > > char* strVal; > > > std::list* qList; > > > Variable* var; > > >