wok annotate libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | |
children |
rev | line source |
---|---|
domcox@14105 | 1 Index: trunk/Source/WebCore/css/CSSGrammar.y |
domcox@14105 | 2 =================================================================== |
domcox@14105 | 3 --- trunk/Source/WebCore/css/CSSGrammar.y (revision 121874) |
domcox@14105 | 4 +++ trunk/Source/WebCore/css/CSSGrammar.y (revision 124099) |
domcox@14105 | 5 @@ -54,11 +54,10 @@ |
domcox@14105 | 6 #define YYDEBUG 0 |
domcox@14105 | 7 |
domcox@14105 | 8 -// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x |
domcox@14105 | 9 -#define YYPARSE_PARAM parser |
domcox@14105 | 10 -#define YYLEX_PARAM parser |
domcox@14105 | 11 - |
domcox@14105 | 12 %} |
domcox@14105 | 13 |
domcox@14105 | 14 %pure_parser |
domcox@14105 | 15 + |
domcox@14105 | 16 +%parse-param { CSSParser* parser } |
domcox@14105 | 17 +%lex-param { CSSParser* parser } |
domcox@14105 | 18 |
domcox@14105 | 19 %union { |
domcox@14105 | 20 @@ -90,5 +89,5 @@ |
domcox@14105 | 21 %{ |
domcox@14105 | 22 |
domcox@14105 | 23 -static inline int cssyyerror(const char*) |
domcox@14105 | 24 +static inline int cssyyerror(void*, const char*) |
domcox@14105 | 25 { |
domcox@14105 | 26 return 1; |