From: Mathieu Desnoyers Date: Tue, 7 Aug 2012 15:23:21 +0000 (-0400) Subject: Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6 X-Git-Tag: v2.1.0-rc1~36 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9d3e6f62fde8c9ca7335ba12ee4560bc887b41a5;p=lttng-tools.git Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6 See https://lists.gnu.org/archive/html/info-gnu/2012-07/msg00011.html Reported-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- diff --git a/src/lib/lttng-ctl/filter-ast.h b/src/lib/lttng-ctl/filter-ast.h index 97793c00b..d66fb8b58 100644 --- a/src/lib/lttng-ctl/filter-ast.h +++ b/src/lib/lttng-ctl/filter-ast.h @@ -35,13 +35,6 @@ 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;