Re: Fw: Bison/Yacc problems ...
On Wed, 29 Jan 2003, Jamie Risk wrote: I don't know where, but I came across a information about bison version information for compiling XFree86. I'm not hurt that it didn't come from this list, but even an impolite Use bison 1.35: RTFM! would have been useful. byacc is preferable. (the people working on bison appear to have little interest in keeping it compatible with other flavors of yacc) -- T.E.Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Bison/Yacc problems ...
After opening the 4.2.0 tar balls and applying the 4.2.0-4.2.1 patch, I find I'm getting a compiling error when bison tries to process the file ./lib/Xft/xftgram.y. The CVS/RCS ID for the file is: $XFree86: xc/lib/Xft/xftgram.y,v 1.5 2001/05/16 10:32:54 keithp Exp $ And the error I get is this: bison -y -d xftgram.y xftgram.y:168.8: parse error, unexpected :, expecting ; or | xftgram.y:169.3-6: $$ of `matrix' has no declared type make[3]: *** [xftgram.c] Error 1 I checked the other *.y files in the distro, and there are other instances of what appears to be misplaced/missing semicolons in the grammar rules sections. From the ./xc directory, I looked for all (six or seven) *.y files and tried each with BISON version 1.75. I modified them all by hand (unwittingly adding semicolons where they made syntactical sense to me to put them), and the compilation now seems to be progressing smoothly as I write this. The whole exercise took only a few minutes. As I'm new to X-Windows, particularly to XFree86 and its source code, could someone verify this? Thanks, - Jamie ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Bison/Yacc problems ...
On Mon, Jan 27, 2003 at 03:17:27PM -0500, Jamie Risk wrote: After opening the 4.2.0 tar balls and applying the 4.2.0-4.2.1 patch, I find I'm getting a compiling error when bison tries to process the file ./lib/Xft/xftgram.y. The CVS/RCS ID for the file is: $XFree86: xc/lib/Xft/xftgram.y,v 1.5 2001/05/16 10:32:54 keithp Exp $ And the error I get is this: bison -y -d xftgram.y xftgram.y:168.8: parse error, unexpected :, expecting ; or | xftgram.y:169.3-6: $$ of `matrix' has no declared type make[3]: *** [xftgram.c] Error 1 I checked the other *.y files in the distro, and there are other instances of what appears to be misplaced/missing semicolons in the grammar rules sections. From the ./xc directory, I looked for all (six or seven) *.y files and tried each with BISON version 1.75. I modified them all by hand (unwittingly adding semicolons where they made syntactical sense to me to put them), and the compilation now seems to be progressing smoothly as I write this. The whole exercise took only a few minutes. As I'm new to X-Windows, particularly to XFree86 and its source code, could someone verify this? well, sure - bison 1.75 is known to do that sort of thing. (it's possible to write yacc-compatible scripts for bison, but it's getting harder). -- Thomas E. Dickey [EMAIL PROTECTED] http://invisible-island.net ftp://invisible-island.net ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel