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

Add Lines game
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 21 03:09:40 2016 +0300 (2016-04-21)
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;