[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison Problems
From: |
Akim Demaille |
Subject: |
Re: Bison Problems |
Date: |
Thu, 20 Feb 2003 17:54:07 +0100 |
User-agent: |
Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 |
| 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?
- Bison Problems, Mike Aubury, 2003/02/03
- Re: Bison Problems,
Akim Demaille <=