1 From 60516f4798894f958fc53b470e1283318d0f8706 Mon Sep 17 00:00:00 2001
2 From: Kerrick Staley <kerrick@kerrickstaley.com>
3 Date: Wed, 21 Aug 2013 06:59:29 +0000
4 Subject: parse: make grammar.y work with Bison 3
6 YYLEX_PARAM is no longer supported in Bison 3.
8 https://bugzilla.gnome.org/show_bug.cgi?id=706462
10 diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y
11 index 24fc87b..7f9dd16 100644
12 --- a/gst/parse/grammar.y
13 +++ b/gst/parse/grammar.y
17 #define YYERROR_VERBOSE 1
18 -#define YYLEX_PARAM scanner
20 #define YYENABLE_NLS 0
22 @@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
26 +%lex-param { void *scanner }
27 %parse-param { void *scanner }
28 %parse-param { graph_t *graph }