wok-next annotate gstreamer0/stuff/patches/gstreamer-bison3.patch @ rev 21111
gdbm: split to "libpkg - pkg - pkg-dev"; fix some symlinks
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 11 14:45:46 2019 +0200 (2019-01-11) |
parents | |
children |
rev | line source |
---|---|
al@19822 | 1 From 90622bb35544655cf641e3ab65cf35a6d01869bc Mon Sep 17 00:00:00 2001 |
al@19822 | 2 From: Kerrick Staley <kerrick@kerrickstaley.com> |
al@19822 | 3 Date: Tue, 20 Aug 2013 23:59:29 -0700 |
al@19822 | 4 Subject: [PATCH] Make grammar.y work with Bison 3 |
al@19822 | 5 |
al@19822 | 6 YYLEX_PARAM is no longer supported in Bison 3. |
al@19822 | 7 |
al@19822 | 8 https://bugzilla.gnome.org/show_bug.cgi?id=706462 |
al@19822 | 9 |
al@19822 | 10 --- a/gst/parse/grammar.y |
al@19822 | 11 +++ b/gst/parse/grammar.y |
al@19822 | 12 @@ -26,7 +26,6 @@ |
al@19822 | 13 */ |
al@19822 | 14 |
al@19822 | 15 #define YYERROR_VERBOSE 1 |
al@19822 | 16 -#define YYLEX_PARAM scanner |
al@19822 | 17 |
al@19822 | 18 #define YYENABLE_NLS 0 |
al@19822 | 19 |
al@19822 | 20 @@ -648,6 +647,7 @@ |
al@19822 | 21 %right '.' |
al@19822 | 22 %left '!' '=' |
al@19822 | 23 |
al@19822 | 24 +%lex-param { void *scanner } |
al@19822 | 25 %parse-param { void *scanner } |
al@19822 | 26 %parse-param { graph_t *graph } |
al@19822 | 27 %pure-parser |