wok view libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 19080

Up tazpanel (591)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Apr 28 23:50:34 2016 +0200 (2016-04-28)
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;