X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fparser-wrap.hpp;fp=src%2Fplugins%2Fctf%2Fcommon%2Fmetadata%2Fparser-wrap.hpp;h=0000000000000000000000000000000000000000;hb=5656cea5531432357cf7ca2a0be14adae5a1e3d3;hp=e35c362163cdd98a3de3d4a02f5eb3fe721d31a8;hpb=507d9140a9f7fba601a53b9ae210f82e8cc3f041;p=babeltrace.git diff --git a/src/plugins/ctf/common/metadata/parser-wrap.hpp b/src/plugins/ctf/common/metadata/parser-wrap.hpp deleted file mode 100644 index e35c3621..00000000 --- a/src/plugins/ctf/common/metadata/parser-wrap.hpp +++ /dev/null @@ -1,28 +0,0 @@ -/* - * SPDX-License-Identifier: MIT - * - * Copyright 2019 EfficiOS Inc. - */ - -#ifndef BABELTRACE_PLUGINS_CTF_COMMON_METADATA_PARSER_WRAP_H -#define BABELTRACE_PLUGINS_CTF_COMMON_METADATA_PARSER_WRAP_H - -/* - * Small wrapper around the bison-generated parser.h to conditionally define - * YYDEBUG (and therefore the yydebug declaration). - */ - -#include "logging/log.h" - -#if BT_LOG_ENABLED_TRACE -# define YYDEBUG 1 -# define YYFPRINTF(_stream, _fmt, args...) BT_LOGT(_fmt, ##args) -#else -# define YYDEBUG 0 -#endif - -#define ALLOW_INCLUDE_PARSER_H -#include "plugins/ctf/common/metadata/parser.hpp" -#undef ALLOW_INCLUDE_PARSER_H - -#endif