Cleanup: YYPARSE_PARAM and YYLEX_PARAM are deprecated in bison 2.6
[babeltrace.git] / formats / ctf / metadata / ctf-ast.h
index ea46d3a3b3da6dfaa283760de0a55de9be2be9b6..ef863a0f2061fe929356927ce33a089ebc4be800 100644 (file)
@@ -1,18 +1,27 @@
-#ifndef _CTF_PARSER_H
-#define _CTF_PARSER_H
+#ifndef _CTF_AST_H
+#define _CTF_AST_H
+
+/*
+ * ctf-ast.h
+ *
+ * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ */
 
 #include <stdint.h>
 #include <stdio.h>
 #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;
 
@@ -283,4 +292,4 @@ int ctf_visitor_parent_links(FILE *fd, int depth, struct ctf_node *node);
 int ctf_visitor_construct_metadata(FILE *fd, int depth, struct ctf_node *node,
                        struct ctf_trace *trace, int byte_order);
 
-#endif /* _CTF_PARSER_H */
+#endif /* _CTF_AST_H */
This page took 0.024126 seconds and 4 git commands to generate.