[Top][All Lists]
[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: |
Wed, 19 Nov 2008 07:11:52 -0600 |
On Wed, 19 Nov 2008 02:08:58 -0500 (EST)
"Joel E. Denny" <address@hidden> wrote:
> On Tue, 18 Nov 2008, George Sherwood 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:
>
> > > WebCore/css/CSSGrammar.y:348.11-20: symbol maybe_sgml redefined
> > > make:
>
> > 334 maybe_sgml:
> > 335 /* empty */
> > 336 | maybe_sgml SGML_CD
> > 337 | maybe_sgml WHITESPACE
> > 338 ;
>
> > 346 closing_brace:
> > 347 '}'
> > 348 | %prec maybe_sgml TOKEN_EOF
> > 349 ;
>
> The argument of %prec must be a token. maybe_sgml is a nonterminal.
> Bison 2.3 ignored this error. Bison 2.3b and later complain about it.
>
> I can't tell for sure what the webkit developers intended here, but
> removing maybe_sgml from line 348 should make Bison stop complaining.
>
Thanks. Unfortunately it isn't going to be that easy. Removing
maybe_sgml from 348 results in an error also.
/usr/bin/bison -d -p cssyy WebCore/css/CSSGrammar.y
-o ./DerivedSources/CSSGrammar.cpp
WebCore/css/CSSGrammar.y: conflicts:105 shift/reduce, 6 reduce/reduce
WebCore/css/CSSGrammar.y: expected 48 shift/reduce conflicts
WebCore/css/CSSGrammar.y: expected 0 reduce/reduce conflicts
make: *** [DerivedSources/CSSGrammar.cpp] Error 1
I will add this information to the webkit bug.
--
George Sherwood
Source Mage GNU/Linux Lead Developer
http://www.sourcemage.org
signature.asc
Description: PGP signature