freebsd-ports/multimedia/gstreamer/files/patch-gst_parse_grammar.y
Antoine Brodin 1464c30e05 Allow building with bison 3
PR:		ports/194680
2014-11-01 23:06:23 +00:00

18 lines
385 B
Text

--- gst/parse/grammar.y.orig 2011-12-30 01:14:35 UTC
+++ gst/parse/grammar.y
@@ -26,7 +26,6 @@
*/
#define YYERROR_VERBOSE 1
-#define YYLEX_PARAM scanner
#define YYENABLE_NLS 0
@@ -648,6 +647,7 @@ static int yyerror (void *scanner, graph
%right '.'
%left '!' '='
+%lex-param { void *scanner }
%parse-param { void *scanner }
%parse-param { graph_t *graph }
%pure-parser