From: Mathieu Desnoyers Date: Tue, 7 Aug 2012 15:23:43 +0000 (-0400) Subject: Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6 X-Git-Tag: v1.0.0-rc5~36 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=51f4bb7a60d9f073553691dd0f4a52a88592c727 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/formats/ctf/metadata/ctf-ast.h b/formats/ctf/metadata/ctf-ast.h index 8d2e5d77..ef863a0f 100644 --- a/formats/ctf/metadata/ctf-ast.h +++ b/formats/ctf/metadata/ctf-ast.h @@ -22,13 +22,6 @@ #include #include -// 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;