1 --- libgnomeprint-2.18.8/libgnomeprint/grammar.y.orig 2010-02-09 13:32:51.000000000 +0100
2 +++ libgnomeprint-2.18.8/libgnomeprint/grammar.y 2013-11-03 21:44:59.859877696 +0100
4 #include <libgnomeprint/types.h>
5 #include <libgnomeprint/gnome-print-filter.h>
7 -#define YYPARSE_PARAM graph
10 set_value_from_string (GParamSpec *pspec, GValue *v, const gchar *s)
15 static int yylex (void *lvalp);
16 -static int yyerror (const char *s);
17 +static int yyerror (graph_t *g, const char *s);
25 +%parse-param { graph_t *graph }
33 -yyerror (const char *s)
34 +yyerror (graph_t *g, const char *s)