Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Aug 2012 15:23:43 +0000 (11:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Aug 2012 15:23:43 +0000 (11:23 -0400)
See https://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html

Reported-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-ast.h

index 8d2e5d776b838232de8ec5f5c08f18043f786618..ef863a0f2061fe929356927ce33a089ebc4be800 100644 (file)
 #include <glib.h>
 #include <babeltrace/list.h>
 
-// the parameter name (of the reentrant 'yyparse' function)
-// data is a pointer to a 'SParserParam' structure
-//#define YYPARSE_PARAM        scanner
-
-// the argument for the 'yylex' function
-#define YYLEX_PARAM    ((struct ctf_scanner *) scanner)->scanner
-
 struct ctf_node;
 struct ctf_parser;
 
This page took 0.032816 seconds and 4 git commands to generate.