wok-next view gstreamer0/stuff/patches/gstreamer-bison3.patch @ rev 21613

updated eboard (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Thu Jun 25 10:33:28 2020 +0100 (2020-06-25)
parents
children
line source
1 From 90622bb35544655cf641e3ab65cf35a6d01869bc Mon Sep 17 00:00:00 2001
2 From: Kerrick Staley <kerrick@kerrickstaley.com>
3 Date: Tue, 20 Aug 2013 23:59:29 -0700
4 Subject: [PATCH] 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 --- a/gst/parse/grammar.y
11 +++ b/gst/parse/grammar.y
12 @@ -26,7 +26,6 @@
13 */
15 #define YYERROR_VERBOSE 1
16 -#define YYLEX_PARAM scanner
18 #define YYENABLE_NLS 0
20 @@ -648,6 +647,7 @@
21 %right '.'
22 %left '!' '='
24 +%lex-param { void *scanner }
25 %parse-param { void *scanner }
26 %parse-param { graph_t *graph }
27 %pure-parser