wok diff libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 23695
updated terminator (1.91 -> 1.92)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 07:35:16 2020 +0100 (2020-04-27) |
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 Mon Apr 27 07:35:16 2020 +0100 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;