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
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
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
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;
> > >