wok-next view libwebkit/stuff/WebCore_css_CSSGrammar.y_124099.diff @ rev 17358
Add asterisk-speech-recog
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 18 21:43:05 2014 +0100 (2014-11-18) |
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;