wok-next view libwebkit/stuff/WebCore_ChangeLog_124099.diff @ rev 18887
Up firefox-official(44.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 12 15:47:40 2016 +0200 (2016-02-12) |
parents | |
children |
line source
1 Index: trunk/Source/WebCore/ChangeLog
2 ===================================================================
3 --- trunk/Source/WebCore/ChangeLog (revision 124098)
4 +++ trunk/Source/WebCore/ChangeLog (revision 124099)
5 @@ -1,2 +1,27 @@
6 +2012-07-30 Alexis Menard <alexis.menard@openbossa.org>
7 +
8 + Build fix with newer bison 2.6.
9 + https://bugs.webkit.org/show_bug.cgi?id=92264
10 +
11 + Reviewed by Adam Barth.
12 +
13 + As stated in http://www.gnu.org/software/bison/manual/html_node/Table-of-Symbols.html
14 + YYLEX_PARAM and YYPARSE_PARAM are depecreated since version 1.875. So far all Mac OS
15 + version I had access to as well as recent Linux runs at least version 2.3 so it's safe
16 + to use the replacement of these deprecated macros in favor of %lex-param and %parse-param.
17 + As announced http://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html with the release
18 + of version 2.6 YYLEX_PARAM and YYPARSE_PARAM are not supported anymore.
19 +
20 + No new tests : build fix and the patch should not trigger any regressions
21 +
22 + * css/CSSGrammar.y:
23 + * css/CSSParser.cpp:
24 + * xml/XPathGrammar.y: Refactored a bit to not use an intermediate PARSER define.
25 + * xml/XPathParser.cpp: bison 2.6 declare xpathyyparse in the .h file now, i.e. XPathGrammar.h
26 + therefore including this file within the namespace {} declarations leads to xpathyyparse being
27 + defined part of WebCore::XPath namespaces but the actual implementation of xpathyyparse is in XPathGrammar.cpp
28 + (generated) and not implemented within the WebCore::XPath so it lead to linking issues. Last, XPathGrammar.h needs
29 + to be included after the other includes as it uses some XPath types. It breaks the style but CSSParser.cpp is doing the same.
30 +
31 2012-07-30 Sadrul Habib Chowdhury <sadrul@chromium.org>