[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison Problems
From: |
Mike Aubury |
Subject: |
Re: Bison Problems |
Date: |
Thu, 20 Feb 2003 18:55:02 +0000 |
Changed the order of some header files and that cleared it....
On Thursday 20 February 2003 4:54 pm, Akim Demaille wrote:
> | I've got some code that works fine with version 1.35 - but I'm having
> | problems compiling with later versions of the bison code.
> | (I've tried 1.75 and a 1.8 something).
> |
> | Its gives two problems :
> | 1) I get problems with tokens being
> | #defined in y.tab.h to give entries like :
> |
> |
> | enum yytokentype {
> | 1001=1001
> | ..
> |
> | }
> |
> | (Using gcc -E to do the preprocessing so I could see the output).
> |
> |
> | After I change the order of some header files, this seemed to disappear
> | but then I got problems with a redefinition of YYPURE, I did an #undef
> | YYPURE before setting it, and then got a 'too few arguments to function
> | 'yylex'
> |
> | Anyone know whats going on ?
> |
> | (BTW - the code is on sourceforge - aubit4gl.sourceforge.net if you want
> | to take a look - its in aubit4glsrc/compilers/4glc/rules)
> |
> | TIA
>
> Do you still have the problem? Did you analyze it?