wok diff libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 21825
Up lz4 (1.9.2) & zstd (1.4.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 11 10:54:36 2019 +0200 (2019-09-11) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff Wed Sep 11 10:54:36 2019 +0200 1.3 @@ -0,0 +1,26 @@ 1.4 +Index: trunk/Source/WebCore/css/CSSGrammar.y 1.5 +=================================================================== 1.6 +--- trunk/Source/WebCore/css/CSSGrammar.y (revision 121874) 1.7 ++++ trunk/Source/WebCore/css/CSSGrammar.y (revision 124099) 1.8 +@@ -54,11 +54,10 @@ 1.9 + #define YYDEBUG 0 1.10 + 1.11 +-// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x 1.12 +-#define YYPARSE_PARAM parser 1.13 +-#define YYLEX_PARAM parser 1.14 +- 1.15 + %} 1.16 + 1.17 + %pure_parser 1.18 ++ 1.19 ++%parse-param { CSSParser* parser } 1.20 ++%lex-param { CSSParser* parser } 1.21 + 1.22 + %union { 1.23 +@@ -90,5 +89,5 @@ 1.24 + %{ 1.25 + 1.26 +-static inline int cssyyerror(const char*) 1.27 ++static inline int cssyyerror(void*, const char*) 1.28 + { 1.29 + return 1;