Revert "Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6"
[babeltrace.git] / formats / ctf / metadata / ctf-ast.h
index ef863a0f2061fe929356927ce33a089ebc4be800..8d2e5d776b838232de8ec5f5c08f18043f786618 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.023271 seconds and 4 git commands to generate.