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

Reply via email to