]> git.pld-linux.org Git - packages/gstreamer0.10.git/blob - bison3.patch
- fix using volatile var in atomic ops in glib with c++11, rel 12
[packages/gstreamer0.10.git] / bison3.patch
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
5
6 YYLEX_PARAM is no longer supported in Bison 3.
7
8 https://bugzilla.gnome.org/show_bug.cgi?id=706462
9 ---
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
14 @@ -26,7 +26,6 @@
15   */
16  
17  #define YYERROR_VERBOSE 1
18 -#define YYLEX_PARAM scanner
19  
20  #define YYENABLE_NLS 0
21  
22 @@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s);
23  %right '.'
24  %left '!' '='
25  
26 +%lex-param { void *scanner }
27  %parse-param { void *scanner }
28  %parse-param { graph_t *graph }
29  %pure-parser
30 --
31 cgit v0.9.0.2-2-gbebe
This page took 0.493689 seconds and 3 git commands to generate.