[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: |
Joel E. Denny |
Subject: |
Re: webkit will not build with bison 2.4 |
Date: |
Wed, 19 Nov 2008 02:08:58 -0500 (EST) |
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.