aboutsummaryrefslogtreecommitdiff
path: root/www/htmlcxx/files/patch-css_syntax.y
diff options
context:
space:
mode:
Diffstat (limited to 'www/htmlcxx/files/patch-css_syntax.y')
-rw-r--r--www/htmlcxx/files/patch-css_syntax.y27
1 files changed, 24 insertions, 3 deletions
diff --git a/www/htmlcxx/files/patch-css_syntax.y b/www/htmlcxx/files/patch-css_syntax.y
index e3c6863cf777..143e76298f83 100644
--- a/www/htmlcxx/files/patch-css_syntax.y
+++ b/www/htmlcxx/files/patch-css_syntax.y
@@ -1,9 +1,30 @@
---- css/css_syntax.y.orig 2012-09-19 15:27:03.000000000 +0800
-+++ css/css_syntax.y 2012-09-19 15:28:12.000000000 +0800
-@@ -1,5 +1,6 @@
+--- css/css_syntax.y.orig 2011-02-13 22:24:53 UTC
++++ css/css_syntax.y
+@@ -1,16 +1,17 @@
%{
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "css_lex.h"
#include "parser.h"
+
+-#define YYPARSE_PARAM yyparam
+ #define YYERROR_VERBOSE 1
+ //#define YYDEBUG 1
+
+ %}
+
+ %pure_parser
++%parse-param { struct selector_list_t **yyparam }
+
+ %union {
+ char *lexeme;
+@@ -571,7 +572,7 @@ hexcolor
+
+ %%
+
+-int yyerror(char *s) {
++int yyerror(struct selector_list_t **yyparam, char *s) {
+ #if YYDEBUG
+ fprintf(stderr, "Error: %s\n", s);
+ #endif