wok-6.x view libwebkit-video/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 19692
ntfs-3g: update genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 12:26:10 2017 +0100 (2017-02-13) |
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;