Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Aug 2012 15:23:21 +0000 (11:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Aug 2012 15:23:21 +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>
src/lib/lttng-ctl/filter-ast.h

index 97793c00bf7f199fea49aa508282552b6ce4bf84..d66fb8b58764a5bb638e4c3781106be75448236a 100644 (file)
                        fprintf(stdout, "[debug] " fmt, ## args);       \
        } while (0)
 
-// the parameter name (of the reentrant 'yyparse' function)
-// data is a pointer to a 'SParserParam' structure
-//#define YYPARSE_PARAM        parser_ctx
-
-// the argument for the 'yylex' function
-#define YYLEX_PARAM    ((struct filter_parser_ctx *) parser_ctx)->scanner
-
 #ifndef YY_TYPEDEF_YY_SCANNER_T
 #define YY_TYPEDEF_YY_SCANNER_T
 typedef void* yyscan_t;
This page took 0.024705 seconds and 4 git commands to generate.