X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-ast.h;h=8d2e5d776b838232de8ec5f5c08f18043f786618;hp=ef863a0f2061fe929356927ce33a089ebc4be800;hb=9117bff7bdb6fbef175f136d1c5a83c97e33eda2;hpb=d40ee8ec4ac9998f69383218762662ba01e89513 diff --git a/formats/ctf/metadata/ctf-ast.h b/formats/ctf/metadata/ctf-ast.h index ef863a0f..8d2e5d77 100644 --- a/formats/ctf/metadata/ctf-ast.h +++ b/formats/ctf/metadata/ctf-ast.h @@ -22,6 +22,13 @@ #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;