wok view libwebkit-video/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 14107

Up: libwekkit-video (1.8.3) + Build fix with bison 2.6
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 24 09:19:03 2013 +0100 (2013-02-24)
parents
children
line source
1 Index: trunk/Source/WebCore/css/CSSGrammar.y
2 ===================================================================
3 --- trunk/Source/WebCore/css/CSSGrammar.y (revision 121874)
4 +++ trunk/Source/WebCore/css/CSSGrammar.y (revision 124099)
5 @@ -54,11 +54,10 @@
6 #define YYDEBUG 0
8 -// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x
9 -#define YYPARSE_PARAM parser
10 -#define YYLEX_PARAM parser
11 -
12 %}
14 %pure_parser
15 +
16 +%parse-param { CSSParser* parser }
17 +%lex-param { CSSParser* parser }
19 %union {
20 @@ -90,5 +89,5 @@
21 %{
23 -static inline int cssyyerror(const char*)
24 +static inline int cssyyerror(void*, const char*)
25 {
26 return 1;