sink.text.pretty: abort on unknown field class type
[babeltrace.git] / src / plugins / ctf / common / metadata / parser.ypp
index 55a8c9ef753d6a233d5dcae2751dcfb85df68a0d..eb6e32c7a94856c522a70c6e7e8ea6220deded64 100644 (file)
@@ -7,26 +7,26 @@
  * Common Trace Format Metadata Grammar.
  */
 
-#define BT_LOG_OUTPUT_LEVEL ctf_plugin_metadata_log_level
-#define BT_LOG_TAG "PLUGIN/CTF/META/PARSER"
-#include "logging.hpp"
-
-#include <stdio.h>
-#include <ctype.h>
-#include <unistd.h>
-#include <string.h>
-#include <stdlib.h>
 #include <assert.h>
-#include <glib.h>
+#include <ctype.h>
 #include <errno.h>
+#include <glib.h>
 #include <inttypes.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+#define BT_LOG_OUTPUT_LEVEL ctf_plugin_metadata_log_level
+#define BT_LOG_TAG "PLUGIN/CTF/META/PARSER"
+#include "plugins/ctf/common/metadata/logging.hpp"
+
 #include "common/list.h"
 #include "common/assert.h"
-#include "scanner.hpp"
-#include "ast.hpp"
-#include "objstack.hpp"
 
-#include "parser-wrap.hpp"
+#include "plugins/ctf/common/metadata/ast.hpp"
+#include "plugins/ctf/common/metadata/objstack.hpp"
+#include "plugins/ctf/common/metadata/parser-wrap.hpp"
 
 /*
  * Avoid warning about "yynerrs" being unused, seen with bison 3.5.1 + clang 15
@@ -1048,6 +1048,8 @@ void ctf_scanner_free(struct ctf_scanner *scanner)
 #ifndef ALLOW_INCLUDE_PARSER_H
 # error "Don't include parser.h directly, include parser-wrap.h instead."
 #endif
+
+#include "plugins/ctf/common/metadata/scanner.hpp"
 }
 
 %code provides {
This page took 0.025602 seconds and 4 git commands to generate.