mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-08 08:55:43 +00:00
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
31 lines
698 B
Diff
31 lines
698 B
Diff
Index: libgnomeprint-2.18.8/libgnomeprint/grammar.y
|
|
===================================================================
|
|
--- libgnomeprint-2.18.8.orig/libgnomeprint/grammar.y
|
|
+++ libgnomeprint-2.18.8/libgnomeprint/grammar.y
|
|
@@ -99,7 +99,7 @@ gnome_print_filter_parse_prop (GnomePrin
|
|
}
|
|
|
|
static int yylex (void *lvalp);
|
|
-static int yyerror (const char *s);
|
|
+static int yyerror (graph_t *g, const char *s);
|
|
%}
|
|
|
|
%union {
|
|
@@ -117,6 +117,7 @@ static int yyerror (const char *s);
|
|
%type <p> pool
|
|
|
|
%pure_parser
|
|
+%parse-param { graph_t *graph }
|
|
|
|
%start graph
|
|
%%
|
|
@@ -185,7 +186,7 @@ graph: filter {
|
|
%%
|
|
|
|
static int
|
|
-yyerror (const char *s)
|
|
+yyerror (graph_t *g, const char *s)
|
|
{
|
|
return -1;
|
|
}
|