bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: webkit will not build with bison 2.4


From: George Sherwood
Subject: Re: webkit will not build with bison 2.4
Date: Tue, 18 Nov 2008 17:15:30 -0600

On Tue, 18 Nov 2008 16:44:25 -0600
George Sherwood <address@hidden> wrote:

> I have reported a bug with the webkit developers, but thought maybe
> you would have a fix, so I can continue building webkit nightly
> builds and have bison 2.4 installed.  Webkit build fine with bison
> 2.3.
> 
> It fails very early in the build with this error:
> 
> cat ./DerivedSources/Grammar.hpp > ./DerivedSources/Grammar.h
> rm -f ./DerivedSources/Grammar.hpp bison_out.txt
> rm
> -f ./DerivedSources/CSSGrammar.cpp.h ./DerivedSources/CSSGrammar.hpp 
> /usr/bin/bison
> -d -p cssyy WebCore/css/CSSGrammar.y
> -o ./DerivedSources/CSSGrammar.cpp
> WebCore/css/CSSGrammar.y:348.11-20: symbol maybe_sgml redefined make:
> *** [DerivedSources/CSSGrammar.cpp] Error 1

Sorry forgot to put the appropriate lines from the CSSGrammar.y file:

334 maybe_sgml:
335     /* empty */
336   | maybe_sgml SGML_CD
337   | maybe_sgml WHITESPACE
338   ;
339
340 maybe_charset:
341    /* empty */
342   | charset {
343   }
344   ;
345
346 closing_brace:
347     '}'
348   | %prec maybe_sgml TOKEN_EOF
349   ;
350
351 charset:



-- 
George Sherwood
Source Mage GNU/Linux Lead Developer
http://www.sourcemage.org

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]